Part Number Hot Search : 
15Q7Q URF1660 2SB12 GRM21BR HT66F60A 36N5I 74LVC3 TDA2148
Product Description
Full Text Search
 

To Download GC4116 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  dsp chips and systems 2185 park blvd., fax (650) 323-0206 palo alto, ca 94306 graychip (650) 323-2955 GC4116 multi-standard quad duc chip data sheet rev 1.0 april 27, 2001 this datasheet may be changed without notice. graychip reserves the right to make changes in circuit design and/or specifications at any time without notice. the user is cautioned to verify that datasheets are current before placing orders. information provided by graychip is believed to be accurate and reliable. no responsibility is assumed by graychip for its use, nor for any infringement of patents or other rights of third parties which may arise from its use. no license is granted by implication or otherwise under any patent rights of graychip. graychip, inc. all rights reserved 1999-2001
1999-2001 graychip,inc. - i - april 27, 2001 GC4116 multi-standard quad duc chip data sheet rev 1.0 this document contains preliminary information which may be changed at any time without notice revision history revision date description 0.1 feruary 8, 2000 original 0.2 march 22, 2000 corrected typos, and miscellaneous errors. 0.3 october 31, 2000 rewritten throughout to re?ct new modes, ?al design changes 1.0 april 27, 2001 modi?d to re?ct production speci?ations. changes throughout.
1999-2001 graychip,inc. - ii - april 27, 2001 GC4116 multi-standard quad duc chip data sheet rev 1.0 this document contains preliminary information which may be changed at any time without notice contacting graychip corporate offices: graychip, inc. 2185 park blvd. palo alto, ca 94306 phone: (650) 323-2955 fax: (650) 323-0206 web page: www.graychip.com e-mail: sales@graychip.com tech-support@graychip.com
1999-2001 graychip,inc. - iii - april 27, 2001 GC4116 multi-standard quad duc chip data sheet rev 1.0 this document contains preliminary information which may be changed at any time without notice 1.0 key features ............................................................................................................... ......... 1 2.0 block diagram .............................................................................................................. ....... 1 3.0 functional description ................................................................................................... 2 3.1 control interface .......................................................................................................... ............. 2 3.2 channel input format ....................................................................................................... .......... 4 3.3 the up-converters .......................................................................................................... ............ 5 3.4 the overall interpolation filter response ..................................................................... 9 3.5 the sum tree ................................................................................................................ .................. 10 3.6 overall gain ................................................................................................................ .................. 10 3.7 four channel resampler ..................................................................................................... ... 11 3.8 serial controller ........................................................................................................... ........... 14 3.9 clocking ................................................................................................................... ...................... 15 3.10 power down modes........................................................................................................... ......... 15 3.11 synchronization ........................................................................................................... .............. 15 3.12 initialization ............................................................................................................ ..................... 16 3.13 data latency............................................................................................................... .................. 17 3.14 diagnostics ................................................................................................................ .................... 17 3.15 jtag ...................................................................................................................... ............................. 17 3.16 mask revision register ..................................................................................................... ........ 18 4.0 packaging .................................................................................................................. .......... 19 5.0 control registers .......................................................................................................... 23 5.1 global registers............................................................................................................ ............. 23 5.2 paged registers ............................................................................................................. ............ 29 5.3 frequency and phase pages (pages 0 and 1)..................................................................... 30 5.4 input gain page (page 2).................................................................................................... ......... 31 5.5 channel input page (page 3) ................................................................................................. ... 32 5.6 resampler input page (page 4) ............................................................................................... 33 5.7 i/o control page (page 7) ................................................................................................... ....... 34 5.8 resampler control page (page 8)......................................................................................... 38 5.9 resampler ratio page (page 9) ............................................................................................... 40 5.10 pfir coefficient pages (pages 16 to 31) ................................................................................ 41 5.11 resampler coefficient pages (pages 32-63) ...................................................................... 42 6.0 specifications.............................................................................................................. ....... 43 6.1 absolute maximum ratings .................................................................................................... .. 43 6.2 recommended operating conditions .................................................................................. 43 6.3 thermal characteristics..................................................................................................... .... 43 6.4 dc characteristics.......................................................................................................... ........... 44 6.5 ac characteristics.......................................................................................................... ........... 45 7.0 application notes ........................................................................................................... .. 46 7.1 power and ground connections .......................................................................................... 46 7.2 static sensitive device..................................................................................................... ......... 46 7.3 moisture sensitive package.................................................................................................. .. 46 7.4 thermal management.......................................................................................................... ....... 46 7.5 reference designs ........................................................................................................... .......... 47 7.6 example pfir filter sets.................................................................................................... ....... 49 7.7 example resampler configurations ................................................................................... 49 7.8 noise analysis .............................................................................................................. ................. 49 7.9 example gsm application..................................................................................................... ..... 49 7.10 example is-136 damps application.......................................................................................... 4 9 7.11 example is-95 nb-cdma application........................................................................................ 49 7.12 example umts wb-cdma application ..................................................................................... 49 7.13 diagnostics ................................................................................................................ .................... 49 7.14 output test configuration.................................................................................................. ... 49 7.15 input test configuration................................................................................................... ...... 49
1999-2001 graychip,inc. - iv - april 27, 2001 GC4116 multi-standard quad duc chip data sheet rev 1.0 this document contains preliminary information which may be changed at any time without notice list of figures figure 1: GC4116 block diagram ................................................................................................. ....................................................... 1 figure 2: normal control i/o timing ............................................................................................ ........................................................ 3 figure 3: edge write control timing ............................................................................................ ........................................................ 3 figure 4: serial input formats ................................................................................................. ............................................................. 4 figure 5: the up-converter channel ............................................................................................. ...................................................... 5 figure 6: typical pfir specifications .......................................................................................... ........................................................ 6 figure 7: five stage cic interpolate by n filter ............................................................................... ................................................... 7 figure 8: nco circuit .......................................................................................................... ................................................................. 8 figure 9: example nco spurs .................................................................................................... ......................................................... 8 figure 10: nco peak spur plot .................................................................................................. ........................................................... 8 figure 11: overall filter response ............................................................................................. ........................................................... 9 figure 12: resampler channel block diagram ..................................................................................... ............................................... 11 figure 13: the resampler? spectral response ................................................................................... .............................................. 12 figure 14: resampler serial output ............................................................................................. ........................................................ 14 figure 15: 160 pin plastic ball grid array (pbga) package ...................................................................... ......................................... 19 figure 16: reference design without the resampler ............................................................................... ........................................... 47 figure 17: reference design using the resampler ................................................................................. ............................................ 48 list of tables table 1: sync modes ............................................................................................................ ............................................................ 16 table 2: sync descriptions ..................................................................................................... .......................................................... 16 table 3: mask revisions ........................................................................................................ ........................................................... 18 table 4: GC4116 pin out locations top view ..................................................................................... ............................................ 20 table 5: global control registers .............................................................................................. ....................................... 23 table 6: page assignments ...................................................................................................... ........................................................ 29 table 7: io control page registers (page 5) ..................................................................................... ............................................... 34 table 8: resampler control registers ........................................................................................... ................................................... 38 table 9: resampler ratio page .................................................................................................. ...................................................... 40 table 10: pfir coefficient pages................................................................................................ ........................................................ 41 table 11: resampler coefficient pages (single filter mode) ..................................................................... ......................................... 42 table 12: absolute maximum ratings ............................................................................................. ................................................... 43 table 13: recommended operating conditions ..................................................................................... ............................................ 43 table 14: thermal data ......................................................................................................... ............................................................. 43 table 15: dc operating conditions .............................................................................................. ...................................................... 44 table 16: ac characteristics .................................................................................................... ........................................................... 45
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 1 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 2.0 block diagram figure 1. GC4116 block diagram 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits clock doubling and distribution circuit ck, ck2x control interface wr rd a[0:4] c[0:7] ce sine/ cosine serial input and gain generator 63 tap interpolate by 2 filter tuning frequency phase offset sum out (8 to 22 bits) sum in scale & round 16 bits 19 bits 22 bits 22 bits 16 bits 20 bits scstart scfsa scfsb scfsc scfsd serial controller scck0, scck1 rina, rfsa, rcka routa routb routc four channel resampler rofs0, rofs1 routd programmable (pfir) 16 bits interpolate by 8 to 2k (cic) filter sine/ cosine generator 63 tap interpolate by 2 filter tuning frequency phase offset 16 bits 20 bits programmable (pfir) 16 bits interpolate by 8 to 2k (cic) filter sine/ cosine generator 63 tap interpolate by 2 filter tuning frequency phase offset 16 bits 20 bits programmable (pfir) 16 bits interpolate by 8 to 2k (cic) filter sine/ cosine generator 63 tap interpolate by 2 filter tuning frequency phase offset 16 bits 20 bits programmable (pfir) 16 bits interpolate by 8 to 2k (cic) filter 23 bits divide by 16 rinb, rfsb, rckb rinc, rfsc, rckc rind, rfsd, rckd rock0, rock1 sync counter and diagnostic test sia so generator sib jtag boundary scan tck logic tms tdi tdo sina, sfsa, scka (channel inputs) sinb, sfsb, sckb sinc, sfsc, sckc sind, sfsd, sckd chreq wrmode channel a channel b channel c channel d 31 tap interpolate by 2 filter (cfir) 31 tap interpolate by 2 filter (cfir) 31 tap interpolate by 2 filter (cfir) 31 tap interpolate by 2 filter (cfir) rreq rstart inputs parallel inputs 1.0 key features output rates up to 100 msps four identical up-convert channels 16 bit real or complex inputs four bit serial input ports, or memory mapped input registers serial interface controller simplifies interfacing with asics or dsp chips resampler circuit filters, pulse shapes and resamples data to allow arbitrary input to output sample rate conversion interpolation factors of 32 to 5,792 in each channel 16 to 32 by combining two channels independent frequency, phase and gain controls user programmable 63 tap input filter 0.02 hz tuning resolution 115 db spur free dynamic range 90 db or more image rejection 0.07 db gain resolution 0.05 db peak to peak passband ripple the four channels are summed into a single output signal 22 bit sum i/o path to merge outputs from multiple GC4116 chips 8 to 22 bit 2? complement or offset binary output samples accepts qpsk or qam symbol data directly, performs transmit (pulse shape) filtering performs pulse shaping and phase equalization for is95 and cdma2000 exceeds damps, gsm, & is95 requirements supports up to two 4 mbaud channels. microprocessor interface for control built in diagnostics each GC4116 chip upconverts: four gsm, damps, or 1x cdma carriers, or two 3x cdma2000 carriers, or two 3.84mb umts carriers power consumption at 70 mhz, 2.5 volts: 84 mw per damps channel 107 mw per gsm channel 305mw per 3.84mb umts channel industrial temperature range (-40c to +85c) gc4016-pb 160 ball pbga (15mm by 15mm) package 3.3volt i/o voltage, 2.5volt core voltage jtag boundary scan
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 2 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 3.0 functional description the GC4116 quad transmit chip contains four identical up-conversion channels. the up-convert channels accept real or complex signals, interpolate them by programmable amounts ranging from 32 to 5,792, and modulates them up to selected center frequencies. the modulated signals are then summed together and optionally summed with modulated signals from other GC4116 chips. channels can be used in pairs to reduce the interpolation ratio down to 16 in order to process wider band input signals. each channel contains a user programmable input filter (pfir) which can be used to shape the transmitted signal? spectrum, or can be used as a nyquist transmit filter for shaping digital data such as qpsk, gmsk or qam symbols (see section 7 for example applications). the up-converter channels are designed to maintain over 115 db of spur free dynamic range. each up-convert channel accepts 16 bit inputs (bit serial) and produces 20 bit outputs. the up-converter outputs are summed with an external 22 bit input to produce a single 22 bit output. the chip can output either real or complex data. the frequencies and phase offsets of the four sine/cosine sequence generators can be independently specified, as can the gain of each circuit. each channel interpolates by the same amount, but can be programmed with independent pfir coefficients. channels can be synchronized to support beamformed or frequency hopped systems. an independent resampler block performs resampling on up to 4 signals. the resampler has its own input and output pins so that it can be used independently from the up-convert channels. the resampler engine is identical to the one in the gc4016. it provides a user programmable filter up to 512 taps long and allows for sampling by arbitrary amounts with delay resolutions up to 64 time phases. a serial controller block is used to generate serial clocks and frame strobes for the channel and resampler input ports. this block simplifies interfacing the GC4116 to other devices. on chip diagnostic circuits are provided to simplify system debug and maintenance. the chip receives configuration and control information over a microprocessor compatible bus consisting of an 8 bit data i/o port, a 5 bit address port, a chip enable strobe, a read strobe and a write strobe. the chip? 110 control registers (8 bits each) and five coefficient ram? are memory mapped into the 5 bit address space of the control port using an internal page register. 3.1 control interface the chip is configured by writing control information into control registers within the chip. the control registers are grouped into 8 global registers and 64 pages of registers, each page containing up to 16 registers. the global registers are accessed as addresses 0 through 15. address 15 is the page register which selects which page is accessed by addresses 16 through 31. the contents of these control registers and how to use them are described in section 5. the registers are written to or read from using the c[0:7] , a[0:4] , ce , rd and wr pins. each control register has been assigned a unique address within the chip. this interface is designed to allow the GC4116 chip to appear to an external processor as a memory mapped peripheral (the pin rd is equivalent to a memory chip? oe pin). an external processor (a microprocessor, computer, or dsp chip) can write into a register by setting a[0:4] to the desired register address, selecting the chip using the ce pin, setting c[0:7] to the desired value and then pulsing wr low. the data will be written into the selected register when both wr and ce are low and will be held when either signal goes high. an alternate ?dge write?mode can be used to strobe the data into the selected register when either wr or ce goes high. this is useful for processors that do not guarantee valid data when the write strobe goes active, but guarantee that the data will be stable for the required set up time before the write strobe goes inactive. the edge write is necessary for these processors, as some control registers (such as most sync registers) are sensitive to transient values on the c[0:7] data bus. to read from a control register the processor must set a[0:4] to the desired address, select the chip with the ce pin, and then set rd low. the chip will then drive c[0:7] with the contents of the selected register. after the processor has read the value from c[0:7] it should set rd and ce high. the c[0:7] pins are turned off (high impedance) whenever ce or rd are high or when wr is low. the chip will only drive these pins when both ce and rd are low and wr is high. one can also ground the rd pin and use the wr pin as a read/write direction control and use the ce pin as a control i/o strobe. figure 2 shows timing diagrams illustrating both i/o modes.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 3 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice figure 2. normal control i/o timing ce wr rd c[0-7] a[0-4] t rec t cdly t csu t cz read cycle- normal mode ce wr rd c[0-7] a[0-4] t rec t cspw t csu t chd write cycle- normal mode wr ce c[0-7] a[0-4] t cdly t csu t cz ce wr c[0-7] a[0-4] t cspw t csu t chd read cycle- rd held low write cycle- rd held low t rec t rec t rec t rec t rec t rec t csu t csu the edge write mode, enabled by the wrmode input pin, allows for rising edge write cycles. in this mode the data on the c[0:7] pins only need to be stable for a small setup time before the rising edge of the write strobe, and held for a small hold time afterwards. this mode is appropriate for processors that do not provide stable data before the start of the write pulse. figure 3 shows the timing for this mode. the setup, hold and pulse width requirements for control read or write operations are given in section 6.0. figure 3. edge write control timing ce wr rd c[0-7] a[0-4] t rec t cspw t csu t chd edge write mode t rec t csu t csu
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 4 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 3.2 channel input format the input samples are 16 bits, either real or complex. the samples are input to the chip either through the bit-serial input ports, or through memory mapped control registers. the channel data request signal (chreq) is output from the chip to identify when the GC4116 is ready for another complex input sample or pair of real samples. 3.2.1 bit serial interface the bit serial format consists of a data input pin (sin), a bit clock pin (sck), and a frame strobe pin (sfs) for each of the four channels (a,b,c and d), and a channel data request pin (chreq) which is common to all channels. the serial channel inputs can come directly from the four channel resampler by connecting the resampler? serial output ports to the channel? serial input ports, and connecting the chreq pin to the resampler? rstart pin. the resampler and its i/o interface is described in section 3.7. if the resampler is not being used, then the serial controller can be used to generate the proper serial clocks and frame strobes fro the channel inputs. in this case chreq is tied to scstart, and then scck and the scfs strobes are used to drive the serial clock and frame strobes for both the channel inputs and the channel data source (typically a dsp chip, fpga, or asic). the bit serial samples are always entered msb first. complex values are entered i-half first followed by the q-half. real values are entered as pairs of samples, with the first sample in the i-half and the second sample in the q-half. the input accepts either pairs of 16 bit words each with its own frame strobe (the unpacked mode), or as a single 32 bit transfer with a single frame strobe (the packed mode). the bit serial input formats are shown in figure 4 figure 4a shows the unpacked input mode (packed in the input control register is low). the user provides a bit serial clock (sck), a frame strobe (sfs) and a data bit line (sin). the chip clocks sfs and sin into the chip on the rising edge of sck (or falling edge if the sck_pol bit in the input control register is set). the user sends a 16 bit serial input word to the GC4116 by setting sfs high (or low if sfs_pol in the input control register is set) for one sck clock cycle, and then transmitting the data, msb first, on the next 16 sck clocks. the sfs may remain high during the transfer, but must go low for one sck cycle before the next serial word is sent. the serial sample is transferred to a parallel register on the next sck clock. additional sck clocks are acceptable but are ignored. the data can be transmitted ?ack to back as shown in figure 4b as long as the sfs signal toggles low and then high as shown. if the packed control bit is high, then the i and q samples (or i0 then i1 for real data) are sent as a single 32 bit word with only one sfs strobe as shown in figure 4c.: sck sfs sin i15 i14 i13 i3 i2 i1 i0 (a) unpacked mode sck sfs sin i15 i14 i13 i3 i2 i1 i0 q15 (b) 16 bit mode, back to back transfer (must go low before next transfer) sck sfs sin i15 i14 i13 i3 i2 i1 i0 q15 (c) 32 bit ?acked?mode (sfs occurs once at beginning of the 32 bit transfer) t hd t su t hd t su figure 4. serial input formats
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 5 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the GC4116 input interface sends a channel data request strobe (chreq) when a new input sample is required for the up-converter channels. the chreq strobe is output from the chip every 4n clocks, where n is the interpolation ratio in the cic filter. the pulse width of the chreq strobe is one ck period. the polarity of chreq is user programmable. the chreq strobe is typically connected to scstart of the serial request controller, or to rstart of the resampler (see section 3.7.9). chreq can also be used as an interrupt to an external device to tell it to send another input sample. the GC4116 chip must receive the last data bit at least one bit clock (sck) period before the next chreq strobe. the frame sync can be sent up to 7 bit clocks before chreq. this is normally used when the serial interface timing is tight, i.e., the chreq rate is less than 34 sck cycles, so that there is not time between chreq strobes to send sfs, then 32 bits and then have an sck cycle before the next chreq. very important note: the chip requires that sck be active when frame sync occurs, and be active for one cycle after the last bit is sent. serial data can be sent using only 32 sck clocks per chreq period if the frame sync for the 16 bit i word (or the 32 bit i/q word in the packed mode) is coincident with the last bit of the previous transfer. the serial controller block described in section 3.8 can provide appropriately timed frame strobes and serial clocks. 3.2.2 memory mapped interfaced input samples can be entered into the chip using the control interface. addresses 16 through 31 on page 3 are the input data registers. note that these registers can be written to in a dma burst, 8 bits at a time. note that some dma formats write samples most significant byte first. if this is the case then the dma should write from address 31 down to address 16. the chreq strobe from the GC4116 chip defines when the dma transfer can start. the transfer must be done before the next chreq strobe is received. see global address 14 for handshake details. 3.3 the up-converters each up-converter channel uses a two stage interpolate by four filter and a 5 stage cascaded integrate-comb (cic) filter to increase the sample rate of the input data up to the chip? clock rate. an nco and mixer circuit modulates the signal up to the desired center frequency. a block diagram of each up-convert channel is shown in figure 5. each input sample is multiplied by an 8 bit 2? complement gain word. the gain adjustment is gain/128, where the gain word (gain) ranges from -128 to +127. this gives a 42 db gain adjustment range. setting g to zero clears the channel input. a different gain can be specified for each channel. the gain values are double buffered and may be transferred to the active register on a sync. the transfer is delayed so that the new values take effect on the same sample for all channels. gain is described in more detail in section 3.6. after the gain has been applied, the input samples are interpolated by a factor of 2 in a 63 tap filter with programmable coefficients (pfir). a typical use of the pfir is to implement matched (root-raised-cosine) transmit filters. the pfir will also, if desired, convert real input data to single-sideband complex data. in this mode the pfir does not interpolate by a factor of 2. instead it down-converts the input data by f s /4, where f s is the input sample rate, and low pass filters the result. the second interpolate by 2 filter is a 31 tap compensating filter (cfir) which both interpolates by 2 and pre-compensates for the droop associated with the cic filter that follows it. the cic filter interpolates by another factor of n=(8 to 1,448) to give an overall interpolation factor of 32 to 5,792 (16 to 2,896 in the real input mode). nco scale and n cic filter tuning frequency phase offset shift down big_shift cfir filter pfir taps pfir filter interpolate by 8 to 2k interpolate interpolate out gain input gain from input formatter q i by 2 by 2 sine cosine figure 5. the up-converter channel
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 6 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the interpolated signal is modulated by a sine/cosine sequence generated by the nco. in the real output mode the real part (i-half) of the complex result is saved as the channel output. in the complex output mode the cic interpolation is cut in half and the nco/mixer calculates both the i-half and q-half of the complex result. in this mode the complex output sample rate is one-half the clock rate, with the i and q halves multiplexed together onto the same output bus. 3.3.1 the programmable interpolate by 2 filter (pfir) the input samples are filtered by two stages of interpolate by 2 filtering before they are interpolated by the cic filter. the first stage interpolate by two filter is a 63 tap filter with programmable 16 bit coefficients. the pfir will accept either complex or real input data. if the input samples are complex, the filter doubles the input rate by inserting zeroes between each sample, and then low pass filters the result. if the input samples are real (real in address 1 is set), the filter translates the real samples down by f in /4, where f in is the input sample rate, by multiplying them by the complex sequence +1, -j, -1, +j, ? , and then lowpass filters the result. this generates a single-sideband modulation of the real input. note that in the real input mode the data is entered as pairs of samples packed into the complex input word format (see section 3.2). if double sideband real upconversion is desired, then the chip should be operated in the complex mode with the q-half of each complex pair set to zero. the pfir filter passband must be flat in the region of the signal of interest, and have the desired out of band rejection in the region that will contain the interpolation image. figure 6 illustrates the passband and stopband requirements of the filter. f in is the input sample rate to the channel. 2f in is the output sample rate of the pfir. a common use of the pfir is to pulse shape digital data. the pfir will accept qpsk, o-qpsk, psk, pam, ook, p /4-qpsk, or qam symbols and then filter them by the desired pulse shaping filter, which is commonlt a root-raised-cosine (rrc) filter. the symbols can be entered directly into the chip at the desired symbol (baud) rate. the application notes in section 7 describes sample filter coefficients sets for common standards (damps, gsm, is95, umts). each channel has its own pfir coefficient memory, so the same filter, or a different filter, can be used in each channel. the user downloaded filter coefficients are 16 bit 2? complement numbers. unity gain will be achieved through the filter if the sum of the 63 coefficients is equal to 65536. if the sum is not 65536, then pfir will introduce a gain equal to: , where pfir_sum is the sum of the 63 coefficients. the 63 coefficients are identified as coefficients h 0 through h 62 , where h 31 is the center tap. the coefficients are assumed to be symmetric, so only the first 32 coefficients (h 0 through h 31 ) are loaded into the chip. a non-symmetric mode (no_sym_pfir in address 26) allows the user to download a 32 tap non-symmetric filter as taps h 0 through h 31 . the newest sample is multiplied by h31 and the oldest is multiplied by h 01 . 3.3.2 the compensating interpolate by 2 filter (cfir) the second stage filter is a fixed coefficient 31 tap interpolate by 2 filter. the second stage filter always interpolates by a factor of two. the second filter has a passband which is flat (0.01 db ripple) out to 0.6f in and provides over 90db of image rejection beyond 1.4f in . the second filter also compensates for the droop associated with the cic interpolation filter described in the next section. the 16 unique coefficients of the symmetric filter are: -34, -171, -166, 403, 837, -317, -1983, -790, 2820, 3328, -1667, -6589, -4024, 7232, 20602, 26577 the passband of this filter is wide enough to upconvert digital symbol data with excess bandwidths up to 0.35. the cfir output is scaled to have unity gain. the output rate of the cfir filter is 4f in in the complex input mode and is 2f in in the real input mode. the cfir output rate relative to the clock rate is f ck /n f in frequency 0 -100 db 0 db signal of interest passband (typically 0.25 to 0.4 of f in ) f in /2 image reject stopband (typically starts between narrow transition band power figure 6. typical pfir specifications 0.6 and 0.75 f in ) pfir_gain pfir_sum 65536 ---------------------------- =
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 7 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice data out zero pad by factor of n clocked at full rate clocked at 1/n rate data in 16 bits 16 bits scale and round figure 7. five stage cic interpolate by n filter 3.3.3 the cic interpolate by n filter the cfir output is interpolated by a factor of n in the cic 1 filter, where n is any integer between 8 and 1,448. the filter is a 5 stage cic filter. a block diagram of the cic filter is shown in figure 7.the output of the cic interpolation filter is equal to the clock rate. the cic filter has a gain equal to n 4 which must be removed by the ?cale and round circuit shown in figure 7. this circuit has a gain equal to 2 -(3+scale+12*big_shift) , where scale ranges from 0 to 15 and big_shift ranges from 0 to 2. the value chosen for big_shift must also satisfy: 2 (12*big_shift+18) 3 n 4 . overflows due to improper gain settings will go undetected if this relationship is violated. this restriction means that n must be less than 23 for big_shift = 0, n must be less than 182 for big_shift = 1, and n must be less than 1449 for big_shift = 2. larger interpolation amounts can be achieved by using the resampler to perform interpolation. larger interpolation amounts using the cic can be accomplished only by reducing the signal amplitude feeding the cic. the cic filter must be initialized when the chip is first configured or whenever the interpolation value n or the shift value big_shift are changed. the cic filter is initialized using the flush controls described in section 5.8. if the cic is disturbed during processing due to noise, radiation particles, or due to changing n or big_shift, then the cic will generate wideband white noise in the output. this property is inherent in the mathematics of a cic filter used for interpolation. this instability can be prevented by using the ?uto flush?capability of the chip 2 (see disable_auto_flush in control register 13). the auto flush mode detects cic instability and automatically re-initializes the cic. the auto flush mode requires that the gain up to the output of the cic filter is less than or equal to unity. 1. hogenhauer, eugene v., an economical class of digital filters for decimation and interpolation, ieee transactions on acoustics, speech and signal processing, april 1981. 2. the auto flush mode is a patented feature of the chip. use of the auto flush mode is highly recommended. cic instability in cellular basestation chips without the auto flush feature can cause full power white noise to be transmitted on all frequencies, interfering with cell users in all nearby cells. 3.3.4 wideband input mode the overall interpolation factor of an up convert channel is 4n. the minimum value of n is 8, which limits the maximum input sample rate to be f ck /32. if the clock rate is 100 mhz, then the maximum single channel input bandwidth is between 2 and 3 mhz. wider input bandwidths can be handled by combining two channels into a single wideband channel using the splitiq mode (splitiq in register 1). in the split iq mode the complex input data is split between two channels. one channel up converts the i-half and the other channel up converts the q-half. this allows the channels to process data at twice the rate so the minimum cic interpolation is n=4 (rather than the previous n=8). the input data is entered as two samples per chreq cycle. the i-half inputs are packed into complex words (i0 with i1, for example) and input into the first channel. the q-half inputs are packed into complex words (q0 with q1, for example) and input into the second channel. the channel processing the imaginary data is programmed with a phase offset of 90 degrees from the channel processing the real channel (phase=0x4000). in this mode, the chip can support two channels of 3.84 mbaud umts signals. note: the resampler can not be used in the split iq mode since it cannot provide data in the two samples per chreq format. 3.3.5 complex output mode the chip may be configured to generate complex rather than real output. in this case the output is the i word followed by the q word at half the clock rate. the qflg signal is used to identify the q half of the output. complex output applies to all channels on a chip. likewise, if any chip in a sum path is using complex output, then all chips in the sum path must do so also. the cic in the complex mode interpolates by n, but only outputs every other sample. this means that the effective cic interpolation is n/2 in the complex output mode. note, however, that the cic gain will still be a function of n, not n/2.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 8 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 32 bits 20 bits 32 bits frequency word sine/cosine out 23 msbs 5 bits 18 msbs dither generator phase offset 16 bits sine/cosine lookup table figure 8. nco circuit 3.3.6 the numerically controlled oscillator (nco) the tuning frequency of each down converter is specified as a 32 bit word and the phase offset is specified as a 16 bit word. the ncos can be synchronized with ncos on other chips. this allows multiple down converter outputs to be coherently combined, each with a unique phase and amplitude. a block diagram of the nco circuit is shown in figure 8. the tuning frequency is set to freq according to the formula freq = 2 32 f/f ck , where f is the desired tuning frequency and f ck is the chip? clock rate. the 16 bit phase offset setting is phase = 2 16 p/2 p , where p is the desired phase in radians ranging between 0 and 2 p . note that a positive tuning frequency should be used to upconvert the signal. a negative tuning frequency can be used to spectrally flip the spectrum of the desired signal. freq and phase are set in addresses 16 through 31 of the frequency and phase pages. the nco? frequency, phase and accumulator can be initialized and synchronized with other channels using the freq_sync, phase_sync, and nco_sync controls in addresses 8 through 11. the freq_sync and phase_sync controls determine when new frequency and phase settings become active. normally these are set to ?lways?so that they take effect immediately, but can be used to synchronize frequency hopping or beam forming systems. the nco_sync control is usually set to never, but can be used to synchronize the los of multiple channels. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -150 -100 -50 0 frequency (fs) gain (db) dlo.nodither.894784853.ppow ftune = 5/24 fs no dither -105.28 db 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -150 -100 -50 0 frequency (fs) gain (db) dlo.dither.894784853.ppow ftune = 5/24 fs -116.4 db with dither a) worst case spectrum without dither b) spectrum with dither (tuned to same frequency) -105 db -116 db freq=5/24 f s freq=5/24 f s figure 9. example nco spurs 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -150 -100 -50 0 frequency (khz) gain (db) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -150 -100 -50 0 frequency (khz) gain (db) -121 db -107 db a) plot without dither or phase initialization b) plot with dither and phase initialization figure 10. nco peak spur plot
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 9 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the nco? spur level is reduced to below -113 db through the use of phase dithering. the spectrums in figure 9 show the nco spurs for a worst case tuning frequency before and after dithering has been turned on. notice that the spur level decreases from -105 db to -116 db. dithering is turned on or off using the dither_sync controls in addresses 8 through 11. the worst case nco spurs at -113 to -116db, such as the one shown in figure 9(b), are due to a few frequencies that are related to the sampling frequency by multiples of f ck /96 and f ck /124. in these cases the rounding errors in the sine/cosine lookup table repeat in a regular fashion, thereby concentrating the error power into a single frequency, rather than spreading it across the spectrum. these worst case spurs can be eliminated by selecting an initial phase that minimizes the errors or by changing the tuning frequency by a small amount (50 hz). setting the initial phase to 4 for multiples of f ck /96 or f ck /124 (and to 0 for other frequencies) will result in spurs below -115 for all frequencies. figure 10 shows the maximum spur levels as the tuning frequency is scanned over a portion of the frequency range with the peak hold function of the spectrum analyzer turned on. notice that the peak spur level is -107 db before dithering and is -121 db after dithering has been turned on and the phase initialization described above has been used. 3.4 the overall interpolation filter response the image rejection of the up-convert channel is equal to the stop band rejection of the overall interpolation filter response. the overall response is obtained by convolving the interpolated responses of the pfir and cfir filters and cic filter response. the overall response and appropriate transmit masks are shown in figure 11 for four common standards. figure 11a shows the overall response for is136 (also referred to as damps). figure 11b shows the response for gsm (input at 2 samples per bit). figures 11c & d shows the response for is95 and 3.84 mb umts. (a) is136 (b) gsm (c) is95 (d) 3.84 mb umts to be generated figure 11. overall filter response is136 transmit mask gsm transmit mask is95 transmit mask
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 10 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 3.5 the sum tree as shown in figure 1, the mixer outputs are rounded to 20 bits and put into the lsbs of a 23 bit sum tree. the sum tree adds all four up-convert channels together. the 23 bit sum tree output is shifted down by four bits and rounded to 19 bits before being added into the lsbs of the external 22 bit sum input. the final 23 bit sum is either saturated to 22 bits (the msb is checked for overflow) and output from the chip as 22 bits, or is scaled up by 0 to 7bits, rounded into the 8, 10, 12, 14, 16, 18, 20, or 22 msbs and then output from the chip. the sum tree gain is equal to 2 sum_scale-7 , where sum_scale is 0 to 7 (see address 19 of the io control page). overflows in the sum tree are saturated to plus or minus full scale. the latency from sumi[0:21] to sumo[0:21] is eight clock cycles. 3.6 overall gain the overall gain of the chip is a function of the input gain setting (g), the sum of the programmable filter coefficients (pfir_sum described in section 3.3.1), the amount of interpolation in the cic filters (n described in section 3.3.3), the scale circuit settings in the cic filter (scale and big_shift described in section 3.3.3), and the sum tree scale factor (sum_scale described in section 3.5). the overall gain, excluding any resampler gain, is: where g and pfir_sum can be different for each channel, but n, scale, big_shift, and sum_scale are common to all channels. the resamplers gain, which precedes the input gain, is discussed in section 3.7.6. the optimal gain setting is one which will keep the amplitude of the data within the channel as high as possible without causing overflow. for random amplitude data the recommended gain target is to keep the root-mean-squared amplitude of the data close to one-fifth (0.2) full scale (a 14 db crest factor). this level should be maintained throughout the channel computations. this means that the products and should both be less than or equal to 0.2, where ?ms?is the root-mean-squared level of the input data. other crest factors can be used depending upon the application. for example, a crest factor of 12 db is adequate if the final number of bits going to a dac is 12 bits. in most cases the input data will already have the correct crest factor for the application, in which case the ratio will be equal to the crest factor (e.g., 0.2) and the gain settings in the channel should be set to unity. in some applications the input amplitude is far from random. for example, qpsk data has constant amplitude. in such cases the largest gain that guarantees no overflow can be calculated from the pfir coefficients and normally allows a substantially higher gain than the optimal gain for random data of similar power. note that the resampler? gain can be used to increase or decrease the rms input level to the channels. the sum tree adds the four channels within a single GC4116 together and then adds in sums from other chips using the sum i/o ports. the 22 bit sum i/o path guarantees that no overflow will occur for systems with 8 chips (32 channels) or less. the final chip in the chain should then shift and round the result to optimize the performance of the d/a. since this represents the sum of many channels the gain should be set with a 14 db crest factor. the 14 db crest factor assumes that the channels can be treated as uncorrelated signals which will result in a random, uniform amplitude distribution. if signals are correlated, however, the amplitude gain can be and the sum tree gain should be set to . examples of correlated signals are pure tones or modem signals that have been synchronized so that they might peak at the same time. these signals, however, require a much smaller crest factor, such as 3 db for pure tones and 6 db for modem signals. in this case the crest factor of 14 db will absorb much of the difference in gain between and . if overflow does occur, then the samples are saturated to plus or minus full scale. overflow can be monitored using the status register (address 14). the values of n and big_shift must also satisfy 2 (12*big_shift+18) 3 n 4 (see section 3.3.3 for details). if n and big_shift do not satisfy this relationship, then an overflow may occur which may not be detected. if the auto flush mode is used, then the gain in the cic must be less than or equal to unity. this means that the values of n, scale and big_shift must satisfy 2 (scale+12*big_shift+3) 3 n 4 (see section 3.3.3 for details). gain g 128 -------- - ?t y pfir_sum 65536 ---------------------------- ?t y n 4 2 scale 12 big_shift 3 ++ () {} 2 sum_scale-7 { } = rms 32768 -------------- - ?t y g 128 -------- - ?t y pfir_sum 65536 ---------------------------- ?t y rms 32768 -------------- - ?t y g 128 -------- - ?t y pfir_sum 65536 ---------------------------- ?t y n 4 2 scale 12 big_shift 3 ++ () {} rms 32768 -------------- - ?t y m m 1 m ---- - m m
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 11 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice if attenuation is necessary, for example when multiple channel outputs are to be added together, then the attenuation should be added as close to the output of the chip as is possible - preferably only at the end of the sumtree just prior to going to the d/a. 3.7 four channel resampler the GC4116 contains a resampler which can be used to feed the up-converter channels in the chip, or can be used as a general resampling resource for a signal processing system. the resampler shares the clock to the chip, but its input, output and control circuitry are independent from the rest of the chip. the resampler in the GC4116 chip is very similar to the one in the gc4016 chip. the resampler requires the use of the serial controller block described in section 8. note that the resampler only works on complex data so the up converter? real or split iq modes, which require two real samples per complex word, can not use the resampler. also, the maximum output sample rate from the resampler is ck/44 when it is connected to the GC4116? upconvert channels. this means the upconvert channels must interpolate by at least a factor of 44 (n>=11) when using the resampler. 3.7.1 resampler input format the resampler inputs are complex samples, 16 bits per i or q word. the samples are input to the resampler through bit-serial input ports, or through memory mapped registers. a resampler data request signal (rreq) is output from the chip to identify when the resampler is ready for another complex input sample. the request (rreq) signal may not be periodic, depending upon the resampling ratio being used. the bit serial interface to the resampler functions the same as the serial interface to the channels (see section 2) except the resampler does not support real input mode and the maximum input complex word rate is ck/34. the serial controller is used to tell the resampler input buffer when the next set of serial samples is ready. the serial controller can also be used to generate the serial clock and frame strobes for the resampler? input ports (see section 3.8). 3.7.2 functional description the resampler consists of an input buffer, an interpolation filter, and an output buffer. a functional block diagram of the resampler is shown in figure 12. the resampler? sampling rate change is the ratio ndelay/ndec where ndelay and ndec are the interpolation and decimation factors shown in figure 12. the decimation amount ndec is a mixed integer/fractional number. when ndec is an integer, then the exact sampling instance is computed and there is no phase jitter. if ndec is fractional, then the desired sampling instance will not be one of the possible ndelay interpolated values. instead the nearest interpolated sample is used. this introduces a timing error (jitter) of no more than 1/(2*ndelay) times the input sample period. the input buffer accepts 16 bit data from the serial input ports or the memory mapped input registers. the input buffer serves both as a fifo between the input and the resampler, and as a data delay line for the interpolation filter. the 64 complex word input buffer can be configured as four segments of 16 complex words each to support 4 resampler channels, or as two segments of 32 complex words each to support 2 resampler channels, or as a single segment of 64 complex words to support a single resampler channel. the number of segments is set by nchan in address 16 of the resampler control page. the interpolation filter zero pads the input data by a factor of ndelay and then filters the zero padded data using a qtap length filter. the output of the qtap filter is then decimated by a factor of ndec. input buffer ndelay ndec output interpolation filter fractional decimation resampling filter qtap filter coefs figure 12. resampler channel block diagram buffer
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 12 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the resampling ratio for each channel is determined by setting the 32 bit ratio control in addresses 16 through 31 of the resampler ratio page. the value of ratio is defined as: up to four ratios can be stored within the chip. a ratio map register (address 23) selects which ratio is used by each channel. the three spectral plots shown in figure 13 illustrate the steps required to resample the channel data. the first spectral plot shows the data just after zero padding. the sample rate after zero padding is ndelay*f s , where f s is the sample rate into the resampler. the second spectrum shows the shape of the qtap filter which must be applied to the zero padded data in order to suppress the interpolation images. the last spectrum shows the final result after decimating by ndec. 3.7.3 the resampler filter figure 13(b) illustrates the spectral shape requirements of the qtap filter. if the desired signal bandwidth is b, then the filter? passband must be flat out to b/2 and the filter? stop band must start before f s -b/2. the user designs this filter assuming a sample rate equal to ndelay*f s . section 7.6 contains example resampler filters coefficient sets. other passband and stopband responses can be used, such as root raised cosine receive filters, as desired. the resampler filter can also be used to augment the cic, cfir and pfir filters?spectral response. the number of filter coefficients, qtap, is equal to nmult*ndelay, where nmult is the number of multiplies available to compute each resampler output, and ndelay is either 4, 8, 16, 32 or 64 as will be described later. the maximum filter length is 512. the user specifies nmult in address 17 of the resampler control page. the filter can be symmetric, or non-symmetric, as selected by the no_sym_res control in address 17 of the resampler control page. the symmetric filter is of even length which means the center tap repeats. the 12 bit filter coefficients are stored in a 256 word memory which can be divided into one, two, or four equal blocks. this allows the user to store one symmetric filter of up to 512 taps, two symmetric filters of up to 256 taps each, or four symmetric filters of up to 128 taps each. the number of filters is set by nfilter in address 16 of the resampler control page. the filter used by each channel is selected ratio 2 26 ndec ndelay ----------------------- - ? ?? 2 26 input sample rate output sample rate ------------------------------------------------------------------- - ? ?? == -f s /2 f s /2 -f s f s ndelay images added by zero padding qtap filter a) spectrum after zero padding images reduced by filtering power frequency response in-band aliasing caused by decimation by ndec 2f s 3f s freq ... -2f s -3f s ... -f s /2 f s /2 -f s f s b) spectrum after filtering power 2f s 3f s freq ... -2f s -3f s ... -f o /2 f o /2 -f o f o =(ndelay/ndec)f s b) final spectrum after decimating by ndec power freq figure 13. the resampler? spectral response
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 13 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice using the filter_sel controls in address 18 of the resampler control page. the filter lengths are cut in half if the filters are not symmetric. the coefficients are stored in memory with h 0 stored in the lowest address, where h 0 is the coefficient multiplied by the newest piece of data. the center tap of a symmetric filter is h (qtap/2)-1 . the coefficients for multiple filters (nfilter>1), are interleaved in the 256 word memory. 3.7.4 restrictions on nmult the user does not directly set the value of ndelay. the chip sets the value of ndelay using no_sym_res, nmult and nfilter according to: where the function floor_2[x] means the power of two value that is equal to or less than ?? since nmult is restricted to be greater than or equal to 6 and less than or equal to 64, then ndelay is either 4, 8, 16, 32 or 64. the length of the filter is then: the value of nmult determines both the length of the filter and the number of delays in the resampling operation. in general one would choose the largest value of nmult which gives an adequately large value of ndelay. the choice of nmult, however, must meet several restrictions. nmult must be greater than a minimum, it cannot exceed the available number of multiplier cycles, and it must be less than the input delay line segment size. these restrictions are described below. the minimum value of nmult is determined by the minimum number of clock cycles required to update the resampler? state. this is a hardware restriction imposed by the chip? architecture. this limitation is: the maximum value of nmult must be less than, or equal to, twice the number of clock cycles available to calculate a resampler output. nmult is the number of multiplier cycles used by the resampler to calculate each output. since the resampler can perform two multiplies every clock cycle, the value of nmult cannot exceed two times the number of clock cycles available to the resampler for each channel. the number of clock cycles available to the resampler is equal to the clock rate to the chip divided by the sum of the output sample rates for each resampler channel. note that the resampler? output sample rate is usually much less than the clock rate, so that nmult is rarely limited by this restriction. the value of nmult must also be less than the size of the delay line formed by the input buffer. the size of the delay line is either 16 for four resampler channels, 32 for two channels or 64 for a single channel as set by the nchan control in address 16 of the resampler control page. this limits nmult to be less than or equal to 15, 31 or 63 dependent upon the number of resampler channels 1 . the typical resampler configuration will have four active channels, all using the same filter and the same resampling ratio. the typical configuration has nchan set to 4, nfilter set to 1, nmult set to 15 and no_sym_res set to 0. this sets ndelay to 32 and qtaps to 480. 3.7.5 resampler shift and round the gain of each resampler output is adjusted by an up-shift by 0-15 bits (final_shift). this up-shift is applied just before rounding to 12, 16, 20 or 24 bits (round). the values of final_shift and round are set in control register 19 of the resampler control page. the resampler gain is: where res_sum is the sum of the qtap coefficients. 3.7.6 by-passing the resampler the resampler is bypassed by using a configuration which has h 0 set to 1024, all other taps set to zero, nmult set to 7, no_sym_res set to 1, final_shift set to 5, and ratio set to 2 26 (0x04000000). note that the ndelay term in the res_gain equation shown above does not apply in this case and should be set to unity in the gain equation. 3.7.7 resampler output buffer the resampler output buffer stores resampler outputs until they are needed. the output is double buffered so that samples from each channel can be stored while previous samples are being output. resampler output samples are held in the buffer until the rstart signal is received. when rstart is received, the buffered data is transferred to the serial output ports which begin to output the samples as 1. note: if the resampler is being used at much less than its maximum capacity, i.e., nmult is much less than twice the number of clock cycles available (see also res_clk_div), and the channels are synchronous, then nmult may equal the size of the delay line. ndelay floor_2 256 2 no_sym_res () nmult () nfilter () ---------------------------------------------- [] = qtap ndelay () nmult () = nmult 6 if there are two or more channels 3 nmult 7 if there is only one channel (nchan=0) 3 res_gain res_sum 32768 ndelay ----------------------------------------------- () 2 final_shift () =
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 14 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice serial data streams. the rstart pulse can only be one ck pulse wide. the resampler serial output format is shown in figure 14. the serial frame sync (rofs) and serial data (rout) change on the rising edge of the serial clock (rock). the resampler serial outputs can be connected directly to the upconverter channel serial inputs if the polarity of the resampler serial clock is inverted by setting res_ck_pol in address 18 of the resampler control page. 3.7.8 resampler i/o control the resampler will stop if the output buffer is full, or if the input buffer needs more samples. typically the output rate is constant, such as when the resampler is feeding upconverter channels. the input rate is typically erratic, depending upon when the resampler needs more input data. the resampler start control (rstart) is used to start the serial outputs. the rstart control transfers data from the output buffer into the serial output registers. the serial output frame will then start on the next rising edge of rock 1 . if the output buffer is full, then the resampler will stop until the next rstart pulse has been received. the resampler input data timing is controlled by the rreq strobe and the serial controller described in the next section. the rreq strobe is output when the resampler needs more input data. the rreq strobe should be connected to the scstart input of the serial controller. the serial controller is then programmed to tell the resampler that the serial transfer is done and new input data is ready. the frame length programmed into the serial controller tells the resampler that the new data samples are ready sc_frame_cnt+18 serial clocks after rreq. sc_frame_cnt is set in address 21 of the io control page. note that the serial controller can be used to slow down the rreq rate by setting the minimum period between rreq strobes to be sc_frame_cnt+18 serial clocks. 1. actually, the serial frame starts on the next rising edge of rock which is 2 ck pulses after rstart. 3.8 serial controller the serial controller block can be used to generate the necessary serial clock and frame strobes for the channel or resampler input ports. this frees the input data source (asic, fpga or dsp chip) from having to generate these signals. in the case of a dsp chip, this may allow the input samples to be transferred in a background ?ma?mode that doesn? interrupt the dsp before or after each serial transfer. the serial controller generates a serial clock and four serial frame strobes, one for each input serial port. each frame strobe can be programmed to be delayed by a different amount from the serial controller start (scstart) pulse. the serial controller contains a serial clock generator and a frame counter. the serial clock (scck) is generated by dividing down ck by 1 to 16 (see sc_ck_div in address 20 of the io control page). the serial clocks in multiple chips can be synchronized by using the sia or sib sync inputs, as selected by the scck_sync control bits in address 20 of the io control page. two copies of the serial clock are output on pins scck0 and scck1. two copies are output to increase the fanout of the clock. the start signal (scstart) is clocked into the chip on the rising edge of ck. scstart is expected to be one ck clock cycle wide. typically scstart is either connected to chreq or rreq, depending upon whether the it is being used for the up convert channels or the resampler. the 8 bit frame counter is started by scstart at the value sc_frame_cnt. the counter is decremented at the serial clock rate until it reaches zero. the counter will continue to decrement for 18 more serial clocks if it is being used with the resampler (sc_mode=0 in address 17 of the io control page), at which time it will tell the resampler that the serial frame is done and a new resampler computation can begin. the counter will count down 2 more serial clocks and stop if the serial controller is being used with the channels (sc_mode=1). the serial frame strobes scfsa, scfsb, scfsc and scfsd are generated by comparing the upper four bits of the frame counter to sc_fs_delay_a, sc_fs_delay_b, sc_fs_delay_c and sc_fs_delay_d. a frame strobe is output when the delay values match the counter and the lower four bits of the counter are zero. this allows the frame strobes to be generated on 16 serial clock boundaries. note: if the 4 lsbs of sc_frame_cnt are zero, and one of the sc_fs_delay values match the upper 4 bits of sc_frame_cnt, then that frame strobe will be active when the serial controller is idle and waiting for another scstart figure 14. resampler serial output i15 i14 i13 i12 i1 q15 q14 q13 q12 i11 rstart rock rofs rout i0
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 15 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice pulse. in general, the lower 4 bits of sc_frame_cnt should be non-zero. the serial control supports both the packed and unpacked serial modes, where the unpacked mode expects a serial frame strobe for each 16 bit word of a complex pair, and the packed mode expects a single frame strobe for the 32 bit complex pair. the frame strobe in the packed mode (packed=1 and sc_mode=1, or res_packed=1 and sc_mode=0, in addresses 16 and 17 of the io control page) may be positioned in one of 15 delays, corresponding to sc_fs_delay values of 0 through 14. in the unpacked mode only the upper three bits of the counter are compared with the upper 3 bits of the sc_fs_delay values. the lower bit of the sc_fs_delay values must be zero. this means that the values will match twice, outputting two frame strobes, 16 bits apart. if the input data is coming from four serial streams, so that the four frame strobes should be sent at the same time, then scframe_cnt should be set to 17, and the four sc_fs_delay values should be set to ?? larger values of sc_frame_cnt can be used in this case in order to spread out the rreq periods. if the data is coming from a single tdm bus, then scfsa (or scstart) can be sent to the data source to start the tdm frame, and then scfsb, scfsc and scfsd can be delayed to identify the appropriate time slots in the tdm bus. when the serial controller is being used with the channel inputs (not the resampler) and the upconvert interpolation factor is 32 or 36, then the frame delays must be used to delay the serial frames to start between 2 to 7 clocks before the next chreq strobe. this is because of the requirement that the serial transfer of 32 bit is completed 2 to 7 clocks before the next chreq strobe (see section 3.2.1). this means that for an interpolation of 32 (the cic interpolation factor n is 8), sc_frame_cnt should be set to 39 and the sc_fs_delay values should be ?? for an interpolation of 36 (n=9) sc_frame_cnt should be 43. for larger interpolation factors the default value of 17 can be used. note that if the serial clock is divided, then similar delay values may need to be used in order to insure that the serial frame is complete before the next chreq. 3.9 clocking the chip clock rate is equal to the output data rate which can be up to 100 mhz. an internal clock doubler doubles the clock rate so that the internal circuitry is clocked at twice the data rate. the clock doubler requires 4-5 clocks to adapt to the rate of the incoming clock during which time the reset should be active. a gated clock, not uniform clock period clock, is not suitable for this device above 40 mhz. a test mode (ext_2xck) allows the use of an external double rate clock (ck2x pin). this is intended for use in production test. please contact graychip if further information on this mode is needed. 3.10 power down modes the chip has a power down and clock loss detect circuit. this circuit detects if the clock is absent long enough to cause dynamic storage nodes to lose state. if clock loss is detected, an internal reset state is entered to force the dynamic nodes to become static. the control registers are not reset and will retain their values, but any data values within the chip will be lost. when the clock returns to normal the chip will automatically return to normal. in the reset state the chip consumes only a small amount of standby power. the user can select whether this circuit is in the automatic clock-loss detect mode, is always on (power down mode), or is disabled (the clock reset never kicks in) using the disable_ck_loss control bit in address 13 and the global_reset control bit in address 5. the whole chip, or individual down converter channels can be powered down. individual channels are powered down using the reset_a, b, c and d control bits in address 5. 3.11 synchronization each GC4116 chip can be synchronized through the use of one of two sync input signals, an internal one shot sync generator, or a sync counter. the sync to each circuit can also be set to be always on or always off. each circuit within the chip, such as the sine/cosine generators or the interpolation control counter can be synchronized to one of these sources. these syncs can also be output from the chip so that multiple chips can be synchronized to the syncs coming from a designated ?aster?GC4116 chip.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 16 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the 2 bit sync mode control for each sync circuit is defined in table 1: note: the internal syncs are active high. the sia and sib inputs have been inverted to be the active high syncs sia and sib in table1. the one_shot sync (address 0, bit 7) can either be a level or a pulse as selected by the os_mode control bit in address 13. the level mode is used to initialize the chip, the pulse mode is used to synchronously switch frequency, phase or gain values. the sia and sib external sync inputs are provided to allow independent synchronization of different features of the GC4116 chip. sync mode 1 is either sia or sib, depending upon what circuit is being synchronized by the sync circuit. table 2 lists all of the sync circuits, what they do, which sync mode 1 it uses, and the suggested default mode settings. the sia sync is intended to be used during initialization only. the circuits connected to sia are ones that should be initialized once, and then let free run. sib is intended to be used for those circuits which may be periodically initialized, such as changing frequency, phase and gain between tdma bursts. the interpolation control counter generates the request strobe (chreq) output from the chip. this counter can be syncronized using the input sia sync (int_sync=1). this allows the user to lock the timing of the request strobe to the sia timing. if this is done, and big_shift is even, then the chreq strobe will go high 8 clock cycles after the sia strobe. for example, if the sia signal is active during clock cycle 0, then chreq will go high during clock cycle 8 and then repeat every 4n clocks (or 2n clocks in the real input mode) thereafter. if big_shift is odd then the delay is 7 clock cycles. 3.12 initialization two initialization procedures are recommended. the first is recommended for multi-GC4116 chip configuration. the second can be used for stand alone GC4116 chips. table 1: sync modes mode sync source 0 off (never asserted) 1 sia or sib (see table 2) 2 tc (terminal count of the sync counter) or one_shot (if use_oneshot in address 0 is set) 3 on (always active) table 2: sync descriptions sync circuit mode 1 description default int_sync sia interpolation control counter. sets timing of chreq. 1(sia) counter_ sync sia internal sync counter. generates tc sync. mode 2 is always one_shot 2 (os) output_ sync sia the output sync (so) selection. 2 (tc) gain_sync sib a single bit sync selection. gain_sync=0 means the gain is applied immediately. gain_sync=1 means the gain is applied after sib. 0 diag_sync sia selects when to start the diagnostic ramp and to store the diagnostic checksum. 2 (tc) freq_sync sib selects when new frequency settings take effect. 3 (on) phase_sync sib selects when new phase settings take effect. 3 (on) nco_sync sib reset the nco phase accumulator 0 (off) dither_ sync sib clears the nco dither circuit. 0 (off) flush _ (a,b,c,d) sia starts a ?sh of the channel 1 (sia) rock_sync sia syncs the resamplers serial output clock. mode 2 is sib. 1 (sia) scck_sync sia syncs the serial controllers serial output clock. mode 2 is sib. 1 (sia) res_sync note 1 syncs the resampler during initialization 2 (sia) ratio_sync note 1 selects when a new resampler ratio takes effect. 3 (sib) note 1: these use a 3 bit sync mode selection where modes 0,1 and 5 are ?ff? mode 2 is sia, mode 3 is sib, mode 4 is one_shot, and modes 6 and 7 are ?n?
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 17 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 3.12.1 initializing multiple GC4116 chips the multi-GC4116 initialization procedure assumes that the sia sync input pins of all GC4116 chips are tied together and are connected to the so output of the ?aster?chip, or to a common sync source. the procedure is to: (1) reset the chip by setting address 5, the reset register, to 0xff; (2) configure the rest of the chip including setting the int_sync, res_sync and flush_(a,b,c,d) to be sia , the os_mode to be 1, and the output_sync to be os (see table 1); (3) assert the sia sync input by setting the one_shot control bit high (or by setting the external sia source low); (4) release the global resets by setting address 5 to 0x00; and (5) release the sia sync by setting one_shot to 0 (or the external sia source high). the global resets are asserted before configuring the chip so that the operation of all of the pins, including the directions of the bidirectional and tristate pins, will be established before the global resets release them. the sia sync is asserted before releasing the global resets so that the channels will remain in a reset state after the global resets are released. all channels and the resampler will then start synchronously by releasing the sia sync. if there are multiple chips which need synchronized, then synchronously releasing the sia sync to them all will force them all to be synchronized. the frequency, phase and gain of multiple chips can be initialized by holding sib low and then releasing it to all of the chips at the same time. 3.12.2 initializing stand alone GC4116 chips the initialization sequence for a stand alone GC4116 chip is similar to the one for the multi-GC4116 procedure, except that the one_shot is used to synchronize the chip, not the sia input sync. the procedure is to: (1) reset the chip by setting address 5, the reset register, to 0xff; (2) configure the rest of the chip including setting the int_sync, res_sync and flush_(a,b,c,d) to be one_shot (mode 2) and the os_mode to be 1; (3) assert the syncs by setting one_shot high; (4) release the global resets by setting address 5 to 0x00; and (5) release the syncs by setting one_shot to 0. 3.13 data latency the data latency through the chip is defined as the delay from the rising edge of a step function input to the chip to the rising edge of the step function as it leaves the chip. this delay is dominated by the number of taps in each of the filters. an estimate of the overall latency through the chip, expressed as the number of ck clock cycles is: (cic latency = 2.5n) + (cfir latency = 16n) + (pfir latency = n*ptap) + (resampler latency) + (input delay) + (pipeline delay) where n is the cic interpolation ratio and ptap is the number of pfir taps. ptap is normally 63. latency can be reduced by using the no_sym_pfir mode to shorten the filter. the resampler latency, if the resampler is being used, is approximately 2n*nmult plus a resampler input sample period and a resampler output period to allow for resampler i/o buffering. the latency in the resampler can be minimized by using the bypass configuration (see section 3.7.7). the input delay is approximately two input sample periods due to the double buffering in the serial input ports. the pipeline delay is approximately 40 clock cycles. 3.14 diagnostics the chip has an internal ramp generator which can be used in place of the data inputs for diagnostics. an internal checksum circuit generates a checksum of the output data to verify the chip? operation. see section 7.12 for diagnostic configurations and checksums. besides the internal diagnostics, the chip supports initial board debug through special input and output tests. the suggested procedure for bringing up the GC4116 chip on a board is to first check the control interface by writing to the control registers and reading them back. the diagnostics described in section 7.12 should be run next, followed by the output and input tests described in sections 7.13 and 7.14. if these pass successfully, then the configuration customized for the desired application should work. 3.15 jtag the GC4116 supports a four pin (tdi, tdo, tck and tms) boundary scan interface. contact graychip to receive the GC4116? bsdl file.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 18 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 3.16 mask revision register an 8 bit mask revision code (revision) can be read from address 31 of page 0. the revision code allows users to determine, through software, what version of the GC4116 chips are being used. the current mask revision codes are: table 3: mask revisions gc4016 revision code (revision) release date mask code on package description 0 april 2000 sample early samples 1 nov. 2000 1002acb first release, revision 1 2 march 2001 1002bcb revision 2, adds jtag, corrects initialization bug
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 19 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 4.0 packaging sumi15 g2 sumi14 f3 sumi13 f2 sumi12 e3 sumi11 e1 sumi10 e2 sumi9 d1 sumi8 d2 sumi7 c1 sumi6 c2 sumi5 b1 sumi4 b3 sia j1 ck j14 j2 so c7 p5 c6 n5 c5 p4 c4 m4 c3 n4 c2 p3 c1 m2 c0 m3 ce l2 a4 l3 a3 l1 a2 k2 GC4116 sumo11 b8 sumo10 c9 sumo9 a9 sumo8 b9 sumo7 c10 sumo6 a10 sumo5 b10 sumo4 c11 sumo3 b11 sumo2 a12 sumo1 b12 sumo0 a13 (msb) (msb) quad duc a1 k3 a0 k1 wr p2 rd m1 sumi3 c3 sumi2 a3 sumi1 b4 sumi0 c4 chip sckd m10 sfsd m8 sumo15 a7 sumo14 c8 sumo13 c7 sumo12 a8 (msb) sind h14 sckc n10 sfsc m9 sinc g13 sckb l14 sfsb n14 sinb e14 scka l11 sfsa l12 sina f12 chreq p6 ck2x j12 vpad balls: note: 0.01 to 0.1 m f decoupling capacitors should be placed as close as possible to each side of the chip thermal gnd balls: sumo21 a4 sumo20 b5 sumo19 c5 sumo18 a5 sumo17 b6 sumo16 b7 sib j3 sumi21 h4 sumi20 h2 sumi19 h1 sumi18 g3 sumi17 h3 sumi16 g1 rofs0 m7 routd h13 routc h11 routb f14 routa e12 rock1 p10 rock0 n11 rofs1 p12 scck1 p11 scck0 m12 scfsd p7 scfsc n9 scfsb n12 scfsa m11 rreq m6 qflg c13 rckd m14 rfsd n7 rind j11 rckc m13 rfsc p9 rinc g12 rckb j13 rfsb k13 rinb g11 rcka k12 rfsa l13 rina e13 wrmode n3 scstart m5 rstart n6 vcore balls: gnd balls: tdi d13 tdo c14 tck e11 tms c12 lll = lot number yyww = date code mmmmmm = mask code dimension typ d tolerance (width body) 15 mm d1 (width cover) 13 mm p (ball pitch) 1.0 mm b (ball width) 0.53 mm l (overhang) 1.0 mm a (overall height) 1.53 mm a1 (ball height) 0.5 mm mm mm mm mm mm mm mm 0.5 mm 13 mm 1.53 mm 0.36 mm a b c d e f g h j k l m n p 1234567891011121314 15 mm a b c d e f g h j k l m n p 1234567891011121314 1.0 mm 0.53 mm graychip GC4116pb quad duc mmmmmm top view bottom view a2 (substrate thickness) 0.36 mm mm b d d1 p a a1 a2 1.0 mm l lll yyww figure 15. 160 pin plastic ball grid array (pbga) package serial resampler channel control g7, g8, h7, h8 a6, d3, d12, e4, f4, f11, g14, k4, k11, n8 b2, b13, c6, d5, d9, d11, l5, l7, l8, l10, n2, n13 d4, d7, d14, f1, f13, g4, h12, j4, k14, p8 a2, a11, b14, d6, d8, d10, l4, l6, l9, n1, p13 controller i/o i/o i/o i/o
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 20 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice table 4: GC4116 pin out locations top view 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: a: vpad sumi2 sumo21 sumo18 gnd sumo15 sumo12 sumo9 sumo6 vpad sumo2 sumo0 b: sumi5 gnd sumi4 sumi1 sumo20 sumo17 sumo16 sumo11 sumo8 sumo5 sumo3 sumo1 gnd vpad c: sumi7 sumi6 sumi3 sumi0 sumo19 gnd sumo13 sumo14 sumo10 sumo7 sumo4 tms qflg tdo d: sumi9 sumi8 gnd vcore gnd vpad vcore vpad gnd vpad gnd gnd tdi vcore e: sumi11 sumi10 sumi12 gnd tck routa rina sinb f: vcore sumi13 sumi14 gnd gnd sina vcore routb g: sumi16 sumi15 sumi18 vcore tgnd tgnd rinb rinc sinc gnd h: sumi19 sumi20 sumi17 sumi21 tgnd tgnd routc vcore routd sind j: sia so sib vcore rind ck2x rckb ck k: a0 a2 a1 gnd gnd rcka rfsb vcore l: a3 ce a4 vpad gnd vpad gnd gnd vpad gnd scka sfsa rfsa sckb m: rd c1 c0 c4 scstart rreq rofs0 sfsd sfsc sckd scfsa scck0 rckc rckd n: vpad gnd wrmode c3 c6 rstart rfsd gnd scfsc sckc rock0 scfsb gnd sfsb p: wr c2 c5 c7 chreq scfsd vcore rfsc rock1 scck1 rofs1 vpad vpad = pad ring power vcore = core power tgnd = thermal ground
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 21 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice signal description ck input clock. active high input the clock input to the chip. the sumi, rstart, scstart, sia and sib input signals are clocked into the chip on the rising edge of this clock. the sumo, chreq, rreq, rout, rock, rofs, scck, scfs and so outputs are clocked out by the rising edge of ck. ck2x double rate input clock. active high input the chip uses an internally doubled clock for normal processing. for test purposes the double rate clock can be supplied externally using this pin. should be grounded for normal use. sia , sib sync in . active low input the sync inputs to the chip. these syncs are clocked into the chip on the rising edge of the input clock ( ck ). all timers, accumulators, and control counters are, or can be, synchronized to one of sia or sib . so sync out . active low output this signal is either a delayed version of the input sync sia , the sync counter? terminal count (tc), or a one-shot strobe. the so signal is clocked out of the chip on the rising edge of the input clock ( ck ). chreq channel data request , programmable active high or low output the chip requests new input data for the channels by asserting this signal. chreq is clocked out of the chip on the rising edge of ck and is one ck cycle wide. the polarity of this signal is user programmable. this signal is typically connected to the rstart input of the resampler, or the scstart input of the serial controller. it can also be used as a start pulse to dedicated circuitry or an interrupt to a dsp chip. sin a,b,c,d bit serial input data, active high input the bit serial input data for the four channels. the i and q halves of complex data are entered on the same pin. each time the chip asserts chreq (see above) the i-half is entered and then the q-half. sck a,b,c,d bit serial data clock , active high or low input the serial data bits are clocked into the chip by these clocks. the active edge of these clocks are user programmable. sfs a,b,c,d bit serial frame strobe , active high or low input the bit serial word strobe. this strobe delineates the 16 bit words, or 32 bit complex pair, within the bit serial input stream. this strobe can be a pulse at the beginning of each bit serial word, or can act as a window enable which is active while the data bits are active. signal description rreq resampler request , programmable active high or low output the chip requests new input data for the resampler by asserting this signal. rreq is clocked out of the chip on the rising edge of ck and is one ck cycle wide. the polarity of this signal is user programmable. this signal must be connected to the scstart input of the serial controller if the resampler is being used. it can also be used as an interrupt to a dsp chip, or as a start pulse to dedicated circuitry. rstart resampler start , active high input this input requests the resampler to send data. typically connected to chreq. rstart is clocked into the chip on the rising edge of ck and can only be high for one ck cycle. rin a,b,c,d resampler input bit serial data, active high input the bit serial input data for the resampler input. the i and q halves of complex data are entered on the same pin, msb to lsb, i-half followed by q-half. rck a,b,c,d resampler input serial clock , active high or low input the resampler serial data bits are clocked into the chip by these clocks. the active edge of these clocks are user programmable. rfs a,b,c,d resampler input frame strobe , active high or low input the resampler bit serial frame strobe. this strobe delineates the 32 bit complex words within the bit serial input stream. this strobe can be a pulse at the beginning of each bit serial word, or can act as a window enable which is active while the data bits are active. rout a,b,c,d resampler output bit serial data, active high output the bit serial output data from the resampler. the i and q halves of complex data are transmitted on the same pin, i followed by q, 16 bits each, msb first. rock 0,1 resampler output serial clocks , programmable active high or low output these outputs provide two copies of a programmable serial clock. normally used to drive the serial clock inputs to the channels (sck-a,b,c,d). rofs 0,1 resampler output frame strobes , programmable active high or low output the resampler outputs a single frame strobe common to all outputs. two copies of this signal are provided for fan out. they are normally connected to the channels (sfs-a,b,c,d).
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 22 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice signal description scstart serial controller start , active high input the start pulse for the serial controller. normally connected to chreq or rreq. can only be high for one ck cycle at a time. scck 0,1 serial controller output clocks , active high or low outputs these outputs provide two copies of a programmable serial clock. normally used to drive both the serial clock port of a dsp, fpga or asic chip and the serial clock inputs of either the resampler block (rsck-a,b,c,d) or the channels (sck-a,b,c,d). scfs a,b,c,d serial controller output frame strobes , active high or low outputs the frame strobe outputs of the serial controller. they are normally connected either to the resampler input frame strobes (rsfs-a,b,c,d) or the channel input frame strobes (sfs-a,b,c,d) as well as to a dsp, fpga or asic chip? serial frame strobe input. sumi[0:21] sum io input data. active high inputs the 22 bit two? complement sum tree input samples. new samples are clocked into the chip on the rising edge of ck. the input data rate is assumed to be equal to the clock rate. sumo[0:21] sum io output data . active high outputs the 22 bit sum tree output data. the bits are clocked out on the rising edge of the clock ( ck ). programmable two? complement or offset binary. qflg q flag . active high output this output is high to identify the imaginary half of a complex sample. this is useful in complex output mode where i and q are multiplexed onto the sum io pins. qflg is clocked out on the rising edge of ck. tms,tck,tdi,tdo jtag interface. active high input ( tck , tms , tdi ) and active high tristate output ( tdo ) pins the jtag interface, see section 3.15. signal description c[0:7] control data i/o bus . active high bidirectional this is the 8 bit control data i/o bus. control register data is loaded into the chip or read from the chip through these pins. the chip will only drive these pins when ce is low and rd is low and wr is high. a[0:4] control address bus . active high input these pins are used to address the control registers within the chip. each of the control registers within the chip are assigned a unique address. a control register can be written to or read from by having the page register set to the appropriate page and then setting a[0:4] to the register? address. rd read enable . active low input this pin enables the chip to output the contents of the selected register on the c[0:7] pins when ce is also low. wr write enable . active low input this pin enables the chip to write the value on the c[0:7] pins into the selected register when ce is also low. ce chip enable . active low input this control strobe enables the read or write operation. the contents of the register selected by a[0:5] will be output on c[0:7] when rd is low and ce is low. if wr is low and ce is low, then the selected register will be loaded with the contents of c[0:7]. wrmode write mode . active high input this pin changes the write timing on the control port so that the data need only be stable relative to the rising edge of either wr or ce . vcore core supply voltage . these pins are used to supply the core logic. nominally set at 2.5v. vpad interface voltage . these pins are used to set the voltage i/o levels for all pins. nominally set at 3.3v. still functional at lower supplies but at reduced speed. gnd ground. tgnd thermal ground these pins are used to extract heat from the die and should be connected to the ground plane.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 23 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.0 control registers the chip is configured and controlled through the use of eight bit control registers. these registers are accessed for reading or writing using the control bus pins ( ce , rd , wr , a[0:4] , and c[0:7] ) described in the previous section. the registers are divided into 16 global registers and 16 paged registers. addresses 0-15 are reserved for global registers. addresses 16-31 are used for paged registers. address 15 is the page register which selects which control registers are accessed by addresses 16 through 31. 5.1 global registers the 16 global control registers are: table 5: global control registers address name description 0 sync mode syncs for interpolation, counter, and output. also one_shot control. 1 interpolation mode real in, splitiq, gain sync, no symmetry, and diagnostic. 2 interpolation gain set cic gain. 3 interpolation byte 0 cic interpolation count least signi?ant byte. 4 interpolation byte 1 cic interpolation count most signi?ant bye. 5 reset resets for the four channels, resampler, outputs, and global reset. 6 counter byte 0 sync counter least signi?ant byte. 7 counter byte 1 sync counter most signi?ant byte. 8 chan a sync syncs for channel as frequency, phase, nco, and dither. 9 chan b sync syncs for channel bs frequency, phase, nco, and dither. 10 chan c sync syncs for channel cs frequency, phase, nco, and dither. 11 chan d sync syncs for channel ds frequency, phase, nco, and dither. 12 flush flush controls for all four channels. 13 miscellaneous complex out, msb invert, and various test control bits. 14 status status feedback from chip including: ready/missed ?gs for channel and resampler, and over?w ?gs from many places w/in the chip. 15 page page register
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 24 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice address 0: sync mode , suggested default = 0x69 address 1: interpolation mode , suggested default = 0x00 address 2: interpolation gain , suggested default = 0x09 the cic filter has a gain which is equal to n 4 . to remove this gain the cic outputs are shifted down by (3+scale+12*big_shift) bits and then rounded to 16 bits before they are sent to the mixer circuit. the value chosen for big_shift must also satisfy: 2 (12*big_shift+18) 3 n 4. overflows due to improper gain settings will go undetected if this relationship is violated. this restriction means that big_shift is 0 for n between 8 and 22, big_shift is 1 for n between 23 and 181, and big_shift is 2 for n between 182 and 1448. the interpolation gain settings apply to all channels in the chip. bit type name description 0,1 (lsbs) r/w int_sync synchronizes the interpolation control counter. the interpolation counter controls the ?tering of each channel. mode 1 is sia. 2,3 r/w counter_sync synchronizes the sync counter. this counter is used to generate the periodic ?c sync pulses. mode 2 is os, not tc, for the counter. mode 1 is sia. 4,5 r/w output_sync the selected sync is inverted and output on the so pin. mode 1 is sia. 6 r/w use_oneshot the terminal count mode in table 1 is replaced by one_shot (os) when this bit is set. 7 r/w one_shot the one shot sync signal (os) is generated when this bit is set. if os_mode in register 13 is low, then a one shot pulse (one clock cycle wide) is generated. if os_mode is high, then the one_shot sync is active while this bit is high. this bit must be cleared before another one shot pulse can be generated. bit type name description 0 lsb r/w real the input samples are real when this bit is set and are up-converted as a single sideband signal. the input samples are treated as complex when this bit is low. the input rate is f ck /4n when this bit is low and is f ck /2n when this bit is high, where f ck is the chips clock rate and n is the interpolation setting in registers 3 and 4 (see section 5.4). if double sideband real data is to be up-converted, then the complex mode should be used with the q-half set to zero. 1 r/w split_iq this control bit puts all four channels into the splitiq mode where each channel processes real data at twice the input rate. two channels work in tandem (a with b and c with d) to process the complex input signal. this mode allows the chip to upconvert two channels at double bandwidth. this mode is used to provide umts transmit capability. 2 r/w gain_sync selects when the input gain is updated. if 0 the input gain (see page 2) takes effect immediately. if 1, then gain is updated on the ?st sample following sib. 3 r/w test special test mode. set to 0 for normal use. 4 r/w nosym when 0 the pfir ?ter is symmetric with 63 taps. when 1, the pfir ?ter is non-symmetric with 32 taps. the newest data sample is multiplied by h 31 . 5 r/w diag use the diagnostic ramp as input data. 6,7 r/w diag_sync the diagnostic ramp is synchronized by the sync selected by these bits according to table 1. this sync also loads the checksum register. mode 1 is sia bit type name description 0-3 r/w scale scale ranges from 0 to 15. 4,5 r/w big_shift big_shift equals 0, 1 or 2. 6,7 r/w unused
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 25 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice address 3: interpolation byte 0 , suggested default = 0x07 address 4: interpolation byte 1 , suggested default = 0x00 where int is equal to n -1. the chip interpolates the input data by a factor of 2 n for real input data and 4 n for complex input data, where n ranges from 8 to 16384. this provides an interpolation range from 32 to 65,536 for complex input signals and 16 to 32,768 for real input signals. note: the chip needs to be flushed each time the interpolation registers are changed. see section 5.8. values of n exceeding 1448 should be avoided since they will cause overflow unless the input signal amplitude is correspondingly reduced. for complex output the signal is decimated by two after the cic and before the mixer. as a result, the effective interpolation amount is only n /2, but the gain needs to be calculated for n ? the interpolation factor applies to all channels in the chip. in the split_iq mode (see section 3.3.4 and bit 1, address 1), int is set to int =2 n -1, where n ranges from 4 to 8192. address 5: reset register , set to 0xff on power up. the reset register powers up to the reset state of 0xff. the register should be set to 0xff during initialization, and then cle ared to begin operation. see section 3.12 for initialization details. bit type name description 0-7 r/w int [0:7] the lsbs of the interpolation control word int. int is n-1. bit type name description 0-5 r/w int [8:13] the 6 msbs of the interpolation control word int. int is n-1. 6,7 r/w unused bit type name description 0 lsb r/w reset_a this bit resets channel a. it is set during power up. while in reset the channel consumes very modest power (uwatts). 1 r/w reset_b this bit resets channel b. 2 r/w reset_c this bit resets channel c. 3 r/w reset_d this bit resets channel d. 4 r/w resampler_reset this bit resets the resampler. 5 r/w nock_reset allows output enables to ?w through registers in output pads. set on power up so that all outputs are tristated at power up. the user should reset this bit when ready for outputs to drive. 6 r/w pad_reset this bit resets the output formatter block. 7 r/w global_reset this bit powers down the chip.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 26 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice address 6: counter byte 0 , suggested default = 0xff address 7: counter byte 1 , suggested default = 0xff the chip? internal sync counter counts in cycles of 128( cnt +1) clocks. a terminal count signal (tc) is output at the end of each cycle. the counter can be synchronized to an external sync as specified in the sync mode register (see address 0). if cnt is set so that 128( cnt +1) is a multiple of twice the interpolation ratio (i.e., a multiple of 16n), then the terminal count of this counter can be output on the so pin and used to periodically synchronize multiple GC4116 chips. address 8: channel-a sync modes , suggested default = 0x5f address 9: channel-b sync modes address 10: channel-c sync modes address 11: channel-d sync modes registers 8,9,10 and 11 control the synchronization modes of the four channels. the sync modes described here are unique to each of the channels. sync mode 1 is sib. the sync modes are shown in table 1 (see section 3.11). the nco_sync mode is usually set to be always ?ff? unless the user wants to coherently control the phases of multiple channels. the freq_sync and phase_sync modes are typically set to be always ?n?so that frequency and phase settings will take effect immediately as they are written into their control registers (see pages 0 and 1). the dither_sync is used to turn on or off the dithering of the nco phase. to turn off dithering set the dither_sync to be always ?n?so that it remains initialized to zero. to turn dithering on set the sync to be always ?ff? during diagnostics the nco_sync and dither_sync should be set to ?c? bit type name description 0-7 r/w cnt [0:7] the lsbs of the counter cycle period bit type name description 0-7 r/w cnt [8:15] the 8 msbs of the counter cycle period bit type name description 0,1 lsb r/w freq_sync the new frequency setting takes affect on this sync 2,3 r/w phase_sync the new phase offset takes affect on this sync 4,5 r/w nco_sync the nco is initialized to the phase setting by this sync 6,7 msb r/w dither_sync the dither circuit is initialized by this sync to zero.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 27 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice address 12: channel flush register , suggested default = 0x55 this register controls flushing the four channels. each channel is flushed when the selected sync occurs. sync mode 1 is sia. the sync is selected according to table 1 in section 3.11. each channel needs to be flushed when the chip is being initialized or when the interpolation control is changed. the flush lasts for 8n clocks after the sync occurs. the channel flush syncs will normally be left in a ?ever?mode. during diagnostics the channels will need to be flushed at the beginning of each sync cycle. address 13: miscellaneous register , set to zero on power up bit type name description 0,1 lsb r/w flush_a[0:1] the ?sh sync for channel a. 2,3 r/w flush_b[0:1] the ?sh sync for channel b. 4,5 r/w flush_c[0:1] the ?sh sync for channel c. 6,7 msb r/w flush_d[0:1] the ?sh sync for channel d. bit type name description 0 lsb r/w disable_auto_flush the chip normally automatically flushes a channel if instability in the channel? cic filter is detected. if this bit is set the auto flush feature is disabled. 1 r/w msb_invert inverts the msb of the output data (sumo21) for use with offset binary dacs. should not be set for chips feeding the sumin port of another GC4116. 2 r/w complex_out complex output is generated with i followed by q. interpolation amount is 2n for complex input and n for real input. 3 r/w ext_2xck for test purposes an external 2x clock can be supplied. this control bit enables its use. normal use will set this bit to zero. 4 r/w ck2x_test for test purposes the internally generated 2x clock can be routed to the sob pin for test. normal use will set this bit to zero. 5 r/w disable_ck_loss the absence of a clock for extended times (1ms) can cause a current surge. an internal circuit detects this condition prior to the current surge and puts the chip into a reset state. this control bit disables this feature. normal use will set this bit to zero. 6 r/w four_out _mode (gc4117 only) puts the chip into the gc4117s four separate output mode. is only valid for the 208 ball gc4117 package. must be set low for the 160 ball GC4116 package. 7 r/w os_mode the one_shot signal is a level, not a pulse when this bit is set.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 28 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice address 14: status register this register is modified by the chip setting or clearing bits to indicate status of a variety of conditions. the user reads th e status register to detect the status and rewrites it to be able to detect the next change in status. the chan_input_ready and res_input_ready bits are used to tell an external processor when to load new input samples. if desired, the chreq and rreq pins can be used as an interrupt to the external processor to tell the processor when to load new samples. the user does not need to set the input_ready bits if interrupts are used. if input_ready is not set, however, the missed flag will not be valid. the same input block design is used for channels and the resampler. the resampler always requires complex input data. the channels can accept real input data. the parallel input mode assumes the data are being entered as complex pairs, even when the data are real. to enter real data in the parallel mode, the user must put two rea l samples into each complex pair, the first sample in the i-half and the second in the q-half. address 15: page register bit type name description 0 lsb r/w chan_input_ready the user sets this bit after loading the input registers. the chip clears this bit when the values have been read and it is time to load new ones. part of the channel? parallel input handshake protocol. 1 r/w chan_missed the chip sets this bit if the user has not set the input_ready bit before the chip reads the input registers. this bit high indicates that an error has occurred. part of the channel? parallel input handshake protocol. 2 r/w res_input_ready the user sets this bit after loading the input registers. the chip clears this bit when the values have been read and it is time to load new ones. part of the resampler? parallel input handshake protocol. 3 r/w res_missed the chip sets this bit if the user has not set the input_ready bit before the chip reads the input registers. this bit high indicates that an error has occurred. part of the resampler? parallel input handshake protocol. 4 r/w chan_overflow over?w was detected in the cic shifter. 5 r/w sumio_overflow over?w was detected in the sumio path at the ?al rounder. for normal uses this should not occur except in the ?al chip in a sumpath. in the ?al chip the d/a loading is often optimized to balance clipping and rounding noise resulting in a sumio_overflow every 10,000 to 100,000 samples. 6 r/w res_overflow this bit is set by the chip if an over?w is detected in the resampler. this should never happen if the resampler is properly programmed. 7 r/w ck_loss_detected the chip sets this bit if it detects a clock loss. bit type name description 0-5 r/w page[0:5] page number for addresses 16 through 31. 6,7 r/w unused
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 29 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.2 paged registers addresses 16 through 31 are used in pages as determined by the page map register (address 15). the page assignments are: table 6: page assignments page description 0 frequency and phase for channels a and b also checksum and revision registers 1 frequency and phase for channels c and d 2 input gain settings 3 channel input registers 4 resampler input registers 5 i/o control registers 6,7 unused 8 resampler control registers 9 resampler ratio registers 10-15 unused 16-19 channel a pfir coef?ients 20-23 channel b pfir coef?ients 24-27 channel c pfir coef?ients 28-31 channel d pfir coef?ients 32-63 resampler coef?ients
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 30 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.3 frequency and phase pages (pages 0 and 1) pages 0 and 1 are used to set the tuning frequencies and phase offsets of the four channels. page 0 also contains the read only checksum diagnostic register and the mask revision register. the 32 bit frequency control word is defined as: freq = 2 32 f/f ck where f is the desired tuning frequency and f ck is the chip? clock rate (not the ck2x rate). use positive frequency values to upconvert signals. use negative frequency values to upconvert inverted spectrums. the 32 bit 2? complement frequency words are entered as four bytes, the least significant byte in the lowest address, the most significant in the highest address. the 16 bit phase offset is defined as: phase = 2 16 p/2 p where p is the desired phase in radians from 0 to 2 p . page 0: channels a and b addresses 16, 17, 18, and 19: frequency channel a addresses 20, 21: phase channel a addresses 24, 25, 26, and 27: frequency channel b addresses 28, 29: phase channel b addresses 30, 31: checksum and revision registers address type name description 16 r/w freq_a[0:7] byte 0 (lsbs) of freq_a 17 r/w freq_a[8:15] byte 1 of freq_a 18 r/w freq_a[16:23] byte 2 of freq_a 19 r/w freq_a[24:31] byte 3 (msbs) of freq_a address type name description 20 r/w phase_a[0:7] byte 0 (lsbs) of phase_a 21 r/w phase_a[8:15] byte 1 (msbs) of phase_a address type name description 24 r/w freq_b[0:7] byte 0 (lsbs) of freq_b 25 r/w freq_b[8:15] byte 1 of freq_b 26 r/w freq_b[16:23] byte 2 of freq_b 27 r/w freq_b[24:31] byte 3 (msbs) of freq_b address type name description 20 r/w phase_b[0:7] byte 0 (lsbs) of phase_b 21 r/w phase_b[8:15] byte 1 (msbs) of phase_b address type name description 30 ronly checksum the 8 bit diagnostic checksum. see section 3.14. 31 ronly revision the 8 bit revision number. see section 3.16.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 31 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice page 1: channels c and d addresses 16, 17, 18, and 19: frequency channel c addresses 20, 21: phase channel c addresses 24, 25, 26, and 27: frequency channel d addresses 28, 29: phase channel d 5.4 input gain page (page 2) this page contains independent gain settings for the four channels. gain is g/128, where g is in two? complement format. page two registers are listed in the table below. addresses 16, 17, 18, and 19: input gain address type name description 16 r/w freq_c[0:7] byte 0 (lsbs) of freq_c 17 r/w freq_c[8:15] byte 1 of freq_c 18 r/w freq_c[16:23] byte 2 of freq_c 19 r/w freq_c[24:31] byte 3 (msbs) of freq_c address type name description 20 r/w phase_c[0:7] byte 0 (lsbs) of phase_c 21 r/w phase_c[8:15] byte 1 (msbs) of phase_c address type name description 24 r/w freq_d[0:7] byte 0 (lsbs) of freq_d 25 r/w freq_d[8:15] byte 1 of freq_d 26 r/w freq_d[16:23] byte 2 of freq_d 27 r/w freq_d[24:31] byte 3 (msbs) of freq_d address type name description 20 r/w phase_d[0:7] byte 0 (lsbs) of phase_d 21 r/w phase_d[8:15] byte 1 (msbs) of phase_d address type name description 16 r/w gain_a[0:7] the gain (g) for channel a 17 r/w gain_b[0:7] the gain (g) for channel b 18 r/w gain_c[0:7] the gain (g) for channel c 19 r/w gain_d[0:7] the gain (g) for channel d
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 32 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.5 channel input page (page 3) page 3 is used to enter input data in the parallel mode (see parallel_a,b,c and d in address of the io control page). addresses 16 to 31: channel inputs the chan_input_ready and chan_missed control bits in the status register (address 14) can be used as ?andshake signals between the chip and the external processor providing the data. the external processor sets chan_input_ready after it has loaded the channel inputs into page 3. the chip will then clear chan_input_ready when it has used the new inputs. the external processor can monitor chan_input_ready to determine when it is time to load new inputs. if the external processor has not set chan_input_ready when the chip wants to use the inputs, then it will set chan_missed to let the external processor know that a handshake error has occurred and input samples have been missed. the external processor can also use the chreq output as an interrupt to know new samples are needed. address type name description 16 r/w chan_a_i[0:7] the 8 lsbs of channel as i input 17 r/w chan_a_i[8:15] the 8 msbs of channel as i input 18 r/w chan_a_qi[0:7] the 8 lsbs of channel as q input 19 r/w chan_a_q[8:15] the 8 msbs of channel as q input 20 r/w chan_b_i[0:7] the 8 lsbs of channel as i input 21 r/w chan_b_i[8:15] the 8 msbs of channel as i input 22 r/w chan_b_qi[0:7] the 8 lsbs of channel as q input 23 r/w chan_b_q[8:15] the 8 msbs of channel as q input 24 r/w chan_c_i[0:7] the 8 lsbs of channel as i input 25 r/w chan_c_i[8:15] the 8 msbs of channel as i input 26 r/w chan_c_qi[0:7] the 8 lsbs of channel as q input 27 r/w chan_c_q[8:15] the 8 msbs of channel as q input 28 r/w chan_d_i[0:7] the 8 lsbs of channel ds i input 29 r/w chan_d_i[8:15] the 8 msbs of channel ds i input 30 r/w chan_d_qi[0:7] the 8 lsbs of channel ds q input 31 r/w chan_d_q[8:15] the 8 msbs of channel ds q input
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 33 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.6 resampler input page (page 4) page 4 is used to enter input data in the parallel mode (see parallel_a,b,c and d in address of the io control page). addresses 16 to 31: resampler inputs the res_input_ready and res_missed control bits in the status register (address 14) can be used as ?andshake signals between the chip and the external processor providing the data. the external processor sets res_input_ready after it has loaded the channel inputs into page 3. the chip will then clear res_input_ready when it has used the new inputs. the external processor can monitor res_input_ready to determine when it is time to load new inputs. if the external processor has not set res_input_ready when the chip wants to use the inputs, then it will set res_missed to let the external processor know that a handshake error has occurred and input samples have been missed. the external processor can also use the rreq output as an interrupt to know new samples are needed. address type name description 16 r/w res_a_i[0:7] the 8 lsbs of resampler channel as i input 17 r/w res_a_i[8:15] the 8 msbs of resampler channel as i input 18 r/w res_a_qi[0:7] the 8 lsbs of resampler channel as q input 19 r/w res_a_q[8:15] the 8 msbs of resampler channel as q input 20 r/w res_b_i[0:7] the 8 lsbs of resampler channel as i input 21 r/w res_b_i[8:15] the 8 msbs of resampler channel as i input 22 r/w res_b_qi[0:7] the 8 lsbs of resampler channel as q input 23 r/w res_b_q[8:15] the 8 msbs of resampler channel as q input 24 r/w res_c_i[0:7] the 8 lsbs of resampler channel as i input 25 r/w res_c_i[8:15] the 8 msbs of resampler channel as i input 26 r/w res_c_qi[0:7] the 8 lsbs of resampler channel as q input 27 r/w res_c_q[8:15] the 8 msbs of resampler channel as q input 28 r/w res_d_i[0:7] the 8 lsbs of resampler channel ds i input 29 r/w res_d_i[8:15] the 8 msbs of resampler channel ds i input 30 r/w res_d_qi[0:7] the 8 lsbs of resampler channel ds q input 31 r/w res_d_q[8:15] the 8 msbs of resampler channel ds q input
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 34 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.7 i/o control page (page 5) page 5 controls the formatting and io speed of channel and resampler inputs, resampler output, sumout and enables for the various outputs. page five registers are listed in the table below: address 16: channel input mode register , suggested default = 0x01 table 7: io control page registers (page 5) address name description 16 channel input mode channel input format (packed, clock and frame polarity, parallel or serial). 17 resampler input mode resampler input format (packed, clock and frame polarity, parallel or serial). 18 resampler output mode controls resampler output clock rate, sync, polarity, and frame polarity. 19 sum iomode sum io path rounding, delay, shifting, and clear. 20 serial controller modes controls request clock rate, sync, and polarity. 21 serial controller frame count sets the serial controllers frame length. 22 serial controller frame delays a and b delay positions for serial controller frame strobes a and b. 23 serial controller frame delays c and d delay positions for serial controller frame strobes c and d. 24 output enables output enables for sum, resampler, request, frame strobes, sync out, and request polarities. 25 resampler clock divider sets the clock rate for the resampler computations 26-31 unused bit type name description 0 lsb r/w packed puts the channel serial inputs into the 32 bit transfer mode where each complex pair is packed into 32 bit words. the complex pair is formatted as i word in the upper 16 bits and the q word in the lower 16 bits. each word is formatted as msb ?st. 1 r/w unused 2 r/w sck_pol the sin input bits and sfs frame strobes are clocked in on the trailing edge of sck when this bit is set. the rising edge is used when this bit is low. 3 r/w sfs_pol the sfs signal is treated as active low when this bit is set. otherwise the signal is treated as active high. 4 r/w parallel_a the parallel/serial control for channel input a. when low input for channel a is taken from the serial port. when high it is taken from the channel input page registers. 5 r/w parallel_b the parallel/serial control for channel b. 6 r/w parallel_c the parallel/serial control for channel c. 7 r/w parallel_d the parallel/serial control for channel d.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 35 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice i/o control page 5 (continue) address 17: resampler input mode register , suggested default = 0x03 address 18: resampler output mode register , suggested default = 0x51 address 19: sum iomode register , suggested default = 0x80 bit type name description 0 lsb r/w res_packed puts the resampler serial inputs into the 32 bit transfer mode where each complex pair is packed into 32 bit words. the complex pair is formatted as i word in the upper 16 bits and the q word in the lower 16 bits. each word is formatted as msb ?st. 1 r/w sc_mode set to zero when the serial controller is being used with the resampler and is set to 1 when it is used with the channels. 2 r/w rck_pol the rin input bits and rfs frame strobes are clocked in on the trailing edge of rsck when this bit is set. the rising edge is used when this bit is low. 3 r/w rfs_pol the rfs signal is treated as active low when this bit is set. otherwise the signal is treated as active high. 4 r/w res_parallel_a the parallel/serial control for resampler input a. when low input for resampler channel a is taken from the serial port. when high it is taken from the resampler input page registers. 5 r/w res_parallel_b the parallel/serial control for resampler channel b. 6 r/w res_parallel_c the parallel/serial control for resampler channel c. 7 r/w res_parallel_d the parallel/serial control for resampler channel d. bit type name description 0-3 lsb r/w rock_rate the resampler serial output clock rate is rock = ck/(1+rock_rate). the serial clock changes on the rising edge of ck when rock_rate is even. 4 r/w rock_pol resampler serial output clock polarity. inverts rock. when rock_pol=0 and rock_rate=0, rock is a slightly delayed version of ck. 5 r/w rofs_pol resampler frame strobe polarity. if low, the frame strobe pulses high for one rck period prior to the ?st transmitted bit. if high the frame strobe pulses low. 6,7 r/w rock_sync sync control for the resampler output clock. the sync settings are 0 =never; 1 = sia; 2 =sib; 3=always. bit type name description 0-2 lsb r/w sum_round round the output to 22-(2*sum_round) bits. the remaining low order bits are cleared. in normal use sum_round is 0 for all chips in a sum path except the ?al one. the ?al one is programmed to match the number of bits used by the d/a or other follow-on devices. 3-5 r/w sum_scale shift the sum output up by sum_scale bits prior to rounding. in normal use sum_scale is 0 for all chips in a sum path except the ?al one. the ?al one is typically programmed so that the output has a 14 db crest factor. 6 r/w sum_delay the latency sumin to sumout is 8 cycles. enabling this bit adds 8 cycles of latency to the output of the 4 internal channels to match the delay from one previous chip. 7 r/w sum_clear clears sumin data so that regardless of the input to the sumin port it does not affect the sum output.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 36 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice i/o control page 5 (continue) address 20: serial controller output mode register , suggested default = 0x51 address 21: serial controller frame count , suggested default = 0x17 the frame counter is preloaded with this value and held there until scstart. once scstart is received the counter is decremented with each scck clock. when the lower four bits are zero and the upper four bits match one of the sc_frame_delay values, then the respective frame strobe is output. if unpacked then bit 4 of the counter is forced to zero for the match, resulting in a pair of strobes separated by 16 clocks for each frame strobe delay value. address 22: sc frame delays a and b , suggested default = 0x11 address 23: sc frame delays c and d , suggested default = 0x11 bit type name description 0-3 lsb r/w scck_rate the scck output rate is set to scck = ck / scck_rate. the serial clock is always approximately 50% duty cycle. the serial clock changes on the rising edge of ck when scck_rate even. 4 r/w scck_pol serial controller clock polarity. inverts reqsck. when scck_pol=0 and scck_rate=0, rck is a slightly delayed version of ck. 5 r/w scfs_pol serial controller frame strobe polarity. if low, the frame strobe pulses high for one scck period prior to the ?st transmitted bit. if high the frame strobe pulses low. 6,7 r/w scck_sync sync control for the scck clock. the sync settings are 0 = never; 1=sia; 2=sib; 3=always. bit type name description 0-7 r/w sc_frame_cnt the initial value for the serial controller frame counter. sets the serial controllers frame length. bit type name description 0-3 r/w sc_frame_delay_a delay value for serial controller output frame strobe a. 4-7 r/w sc_frame_delay_b delay value for serial controller output frame strobe b. bit type name description 0-3 r/w sc_frame_delay_c delay value for serial controller output frame strobe c. 4-7 r/w sc_frame_delay_d delay value for serial controller output frame strobe d.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 37 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice i/o control page 5 (continue) address 24: output enable register , suggested default = 0x3f address 25: resampler clock divide register , must be set to 0x00 the resampler clock divider is not functional and must be set to zero. bit type name description 0 lsb r/w sum_en enable sumout pins. 1 r/w res_en enable resampler serial data out, resampler frame strobes, and resampler serial clocks. 2 r/w req_en enable resampler and channel request outputs. 3 r/w sc_en enable serial controller serial clocks and frame strobes. 4 r/w so_en enable the sync output (so ) pin 5 r/w unused 6 r/w chreq_pol invert the channel request. this is useful when the request signal is used as a frame strobe with some dsps (such as lucent 1620). 7 r/w rreq_pol invert the resampler request. this is useful when the request signal is used as a frame strobe with some dsps (such as lucent 1620). bit type name description 0-7 r/w res_clk_div resampler clock division.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 38 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.8 resampler control page (page 8) this page controls the resampler. the address assignments are: address 16: n-channels out register , suggested default = 0x23 address 17: n-multiplies register , suggested default = 0x0e table 8: resampler control registers address name description 16 n-channels sets the number of resampler channels and ?ters 17 n-multiplies sets the number of multiplies per output 18 filter select maps ?ters to resampler channels 19 final shift sets the ?al gain shift 20 serial map maps serial inputs to resampler channels 21 ratio sync synchronizes the ratio selection changes. 22 unused 23 ratio map maps ratios to resampler channels 24-31 unused bit type name description 0-1 lsb r/w nc must be set to nc=nchan-1, where nchan is the number of resampler channels to be generated. a value of nc=0 means one resampler channel. a value of nc=1 means two resampler channels. use a value of nc=3 for either three or four resampler channels. a value of 2 is illegal and will produce erroneous results. 2-3 r/w nf must be set to nf=nfilter-1, where nfilter is the number of resampler ?ters. used to partition the resampler coef?ient ram. a value of nf=0 means one ?ter (normal case). a value of nf=1 means two ?ters. a value of nf=3 means four ?ters. a value of 2 is illegal. 4-6 r/w res_sync the resampler is synchronized to this sync source. this sync clears the delay accumulators in all channels at the same time. the sync modes are: 0,1 and 5 are ?ever? 2=sia, 3=sib, 4=os, and 6,7 are ?lways? 7 msb r/w unused bit type name description 0-5 lsb r/w nm must be set to nm=nmult-1, where nmult is the number of resampler multiplies. the minimum legal value is nm=5, the maximum is nm=63 but typically the maximum will be set by other constraints (see section 3.7.4). in the case of a single channel output the minimum value is nm=6. 6 r/w no_sym_res the resampler ?ter is presumed to be symmetric unless this bit is set. 7 msb r/w unused
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 39 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice resampler control page 8 (continue) address 18: filter select register , suggested default = 0x00 address 19: final shift register , suggested default = 0x14 address 20: serial map register , suggested default = 0xe4 this register maps resampler serial inputs to resampler channels. for most applications this will be a simple map of input a to resampler channel 0, input b to resampler channel 1, etc. however, for two channel and one channel modes the mapping is non-standard. the resampler input buffer requires that serial input d is always active, so in the single channel mode serial in put d must be mapped to resampler channel 0. this requires the serial map register to be set to 0x00. for two channels, serial inpu ts c and d will be active and they should be mapped to resampler channels 0 and 1. this requires the serial map register to be set to 0x40. address 21: ratio sync , suggested default = 0x20 when processing complex input signals partial results are computed in adjacent channels that must be summed together to produce a meaningful result. this control bit informs the resampler to save the data presented to it? input and add it to the next sample presented (if the chip is properly set up this will be from the next channel). in this manner the real and imaginary por tions of the input are rejoined prior to resampling. bit type name description 0-1 lsb r/w filter_sel_0 the ?ter map for resampler channel 0. this select which of the nfilter ?ters to use for this channel. must be less than or equal to nfilter 2-3 r/w filter_sel_1 the ?ter map for resampler channel 1. 4-5 r/w filter_sel_2 the ?ter map for resampler channel 2. 6-7 msb r/w filter_sel_3 the ?ter map for resampler channel 3. bit type name description 0-3 lsb r/w final_shift the ?al shift up applied to all resampler channels before rounding and outputting. legal values are 0-15. 4-5 r/w round round the output to 12 (round=0), 16 (round=1), 20 bits (round=2) or 24 bits (round=3). note, round must be set to 1 (16 bits). 6,7 (msb r/w unused bit type name description 0-1 lsb r/w serial_map_a the map for serial input a. this tells the hardware which resampler channel serial input a should be directed to. 2-3 r/w serial_map_b the map for serial input b. 4-5 r/w serial_map_c the map for serial input c. 6-7 msb r/w serial_map_d the map for serial input d. bit type name description 0-3 lsb r/w test for factory test purposes, must be set to zero. 4-6 r/w ratio_sync changes to the ratio map (address 23) are synchronized to this sync source. the sync modes are: 0,1 and 5 are ?ever? 2=sia, 3=sib, 4=os, and 6,7 are ?lways? 7 msb r/w unused
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 40 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice resampler control page 8 (continue) address 23: ratio map register suggested default = 0x00 the default ratio maps select ratio 0 for all four channels. the resampler in the GC4116 must use the same ratio for all resampler channels, which means that the valid values for the ratio map are 0x00, 0x55, 0xaa and 0xff to select ratio 0, 1, 2 o r 3. the ratio maps can also be used to synchronously switch between resampling ratios. this allows the chip? resampler to be used in timing loops where the ratio must toggle between several values which have been programmed into the chip. 5.9 resampler ratio page (page 9) this page stores four resampler ratios to be used by the resampler channels. each ratio is the 32 bit ratio of the input sample rate to the output sample rate with an implicit decimal point six bits down from the top. the total range for the ratio is then 0 to 63. the hardware limits the decimation to be less than 32 (hence the msb of the 32 bit word should always be zero). ratio = 2 26 (input sample rate)/(output sample rate) the ratio map register selects which ratio is used by the resampler. bit type name description 0-1 lsb r/w ratio_map_0 the ratio map for resampler channel 0. this tells the hardware which resampler ratio should be use for resampler channel 0. 2-3 r/w ratio_map_1 the ratio map for resampler channel 1. 4-5 r/w ratio_map_2 the ratio map for resampler channel 2. 6-7 msb r/w ratio_map_3 the ratio map for resampler channel 3. table 9: resampler ratio page address name address name 16 ratio_0 (lsbs) 24 ratio_2 (lsbs) 17 ratio_0 25 ratio_2 18 ratio_0 26 ratio_2 19 ratio_0 (msbs) 27 ratio_2 (msbs) 20 ratio_1 (lsbs) 28 ratio_3 (lsbs) 21 ratio_1 29 ratio_3 22 ratio_1 30 ratio_3 23 ratio_1 (msbs) 31 ratio_3 (msbs)
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 41 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.10 pfir coefficient pages (pages 16 to 31) the user programmable filter pfir coefficients are stored using pages16 to 19 for channel a, pages 20 to 23 for channel b, pages 24 to 27 for channel c, and pages 28 to 31 for channel d. coefficient h 0 is the first coefficient and coefficient h 31 is the center coefficient of the filter? impulse response. the 16 bit 2? complement coefficients are stored in two bytes, least significant byte first, for example, the lsbs of coefficient 0 are store d in address 16 and the msbs in address 17. to load a coefficient the user must write the lsbyte first followed by the msbyte. unknown values will be written into the lsbs if the msb is written first. the coefficient registers are read/write. table 10: pfir coef?ient pages address pages 16, 20, 24 or 28 pages 17, 21, 25 or 29 pages 18, 22, 26 or 30 pages 19, 23, 27 or 31 description description description description 16 h 0 lsbs (end tap) h 8 lsbs h 16 lsbs h 24 lsbs 17 h 0 msbs (end tap) h 8 msbs h 16 msbs h 24 msbs 18 h 1 lsbs h 9 lsbs h 17 lsbs h 25 lsbs 19 h 1 msbs h 9 msbs h 17 msbs h 25 msbs 20 h 2 lsbs h 10 lsbs h 18 lsbs h 26 lsbs 21 h 2 msbs h 10 msbs h 18 msbs h 26 msbs 22 h 3 lsbs h 11 lsbs h 19 lsbs h 27 lsbs 23 h 3 msbs h 11 msbs h 19 msbs h 27 msbs 24 h 4 lsbs h 12 lsbs h 20 lsbs h 28 lsbs 25 h 4 msbs h 12 msbs h 20 msbs h 28 msbs 26 h 5 lsbs h 13 lsbs h 21 lsbs h 29 lsbs 27 h 5 msbs h 13 msbs h 21 msbs h 29 msbs 28 h 6 lsbs h 14 lsbs h 22 lsbs h 30 lsbs 29 h 6 msbs h 14 msbs h 22 msbs h 30 msbs 30 h 7 lsbs h 15 lsbs h 23 lsbs h 31 lsbs (center tap) 31 h 7 msbs h 15 msbs h 23 msbs h 31 msbs (center tap)
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 42 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 5.11 resampler coefficient pages (pages 32-63) these pages store the 256 resampler coefficients. storing resampler coefficient values is similar to storing the coefficients for the pfir filters. the resampler coefficients are 12 bits with the 8 lsbs written in one address, and the upper 4 bits writt en as the 4 lsbs of the next address. when reading back resampler coefficients the top four bits of the second address always read back zero. the resampler coefficient ram must be written in blocks of eight addresses (four coefficients). writes to the ram occur when a write is done to addresses 23 or 31. supplying coefficients in sequential order will write correctly to the ram. if just a portion of the resampler coefficient ram is to be updated, then one must write in blocks of the eight addresses 16 to 23, or 24 to 31. writing to less than eight addresses will either result in no change to the ram or unknown changes to some coefficients. to load a coefficient the user must write in blocks of four coefficients. one must write to addresses 16-22 then address 23 or to addresses 24-30 then address 31. table 11 shows the coefficient register assignments when there is a single filter (nf=0). for two filters (nf=1), the two filte rs are interleaved, i.e., the h even in table 11 will contain one filter and h odd will contain the other. four four filters (nf=3), the four filters are interleaved, i.e., h 0 , h 4 , h 8 , ... is the first filter, h 1 , h 5 , ... is the second, etc. table 11: resampler coef?ient pages (single ?ter mode) address page 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 16 h 0 h 8 h 16 h 24 h 32 h 40 h 48 h 56 h 64 h 72 h 80 h 88 h 96 h 104 h 112 h 120 17 h 0 h 8 h 16 h 24 h 32 h 40 h 48 h 56 h 64 h 72 h 80 h 88 h 96 h 104 h 112 h 120 18 h 1 h 9 h 17 h 25 h 33 h 41 h 49 h 57 h 65 h 73 h 81 h 89 h 97 h 105 h 113 h 121 19 h 1 h 9 h 17 h 25 h 33 h 41 h 49 h 57 h 65 h 73 h 81 h 89 h 97 h 105 h 113 h 121 20 h 2 h 10 h 18 h 26 h 34 h 42 h 50 h 58 h 66 h 74 h 82 h 90 h 98 h 106 h 114 h 122 21 h 2 h 10 h 18 h 26 h 34 h 42 h 50 h 58 h 66 h 74 h 82 h 90 h 98 h 106 h 114 h 122 22 h 3 h 11 h 19 h 27 h 35 h 43 h 51 h 59 h 67 h 75 h 83 h 91 h 99 h 107 h 115 h 123 23 h 3 h 11 h 19 h 27 h 35 h 43 h 51 h 59 h 67 h 75 h 83 h 91 h 99 h 107 h 115 h 123 24 h 4 h 12 h 20 h 28 h 36 h 44 h 52 h 60 h 68 h 76 h 84 h 92 h 100 h 108 h 116 h 124 25 h 4 h 12 h 20 h 28 h 36 h 44 h 52 h 60 h 68 h 76 h 84 h 92 h 100 h 108 h 116 h 124 26 h 5 h 13 h 21 h 29 h 37 h 45 h 53 h 61 h 69 h 77 h 85 h 93 h 101 h 109 h 117 h 125 27 h 5 h 13 h 21 h 29 h 37 h 45 h 53 h 61 h 69 h 77 h 85 h 93 h 101 h 109 h 117 h 125 28 h 6 h 14 h 22 h 30 h 38 h 46 h 54 h 62 h 70 h 78 h 86 h 94 h 102 h 110 h 118 h 126 29 h 6 h 14 h 22 h 30 h 38 h 46 h 54 h 62 h 70 h 78 h 86 h 94 h 102 h 110 h 118 h 126 30 h 7 h 15 h 23 h 31 h 39 h 47 h 55 h 63 h 71 h 79 h 87 h 95 h 103 h 111 h 119 h 127 31 h 7 h 15 h 23 h 31 h 39 h 47 h 55 h 63 h 71 h 79 h 87 h 95 h 103 h 111 h 119 h 127 address page 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 16 h 128 h 136 h 144 h 152 h 160 h 168 h 176 h 184 h 192 h 200 h 208 h 216 h 224 h 232 h 240 h 248 17 h 128 h 136 h 144 h 152 h 160 h 168 h 176 h 184 h 192 h 200 h 208 h 216 h 224 h 232 h 240 h 248 18 h 129 h 137 h 145 h 153 h 161 h 169 h 177 h 185 h 193 h 201 h 209 h 217 h 225 h 233 h 241 h 249 19 h 129 h 137 h 145 h 153 h 161 h 169 h 177 h 185 h 193 h 201 h 209 h 217 h 225 h 233 h 241 h 249 20 h 130 h 138 h 146 h 154 h 162 h 170 h 178 h 186 h 194 h 202 h 210 h 218 h 226 h 234 h 242 h 250 21 h 130 h 138 h 146 h 154 h 162 h 170 h 178 h 186 h 194 h 202 h 210 h 218 h 226 h 234 h 242 h 250 22 h 131 h 139 h 147 h 155 h 163 h 171 h 179 h 187 h 195 h 203 h 211 h 219 h 227 h 235 h 243 h 251 23 h 131 h 139 h 147 h 155 h 163 h 171 h 179 h 187 h 195 h 203 h 211 h 219 h 227 h 235 h 243 h 251 24 h 132 h 140 h 148 h 156 h 164 h 172 h 180 h 188 h 196 h 204 h 212 h 220 h 228 h 236 h 244 h 252 25 h 132 h 140 h 148 h 156 h 164 h 172 h 180 h 188 h 196 h 204 h 212 h 220 h 228 h 236 h 244 h 252 26 h 133 h 141 h 149 h 157 h 165 h 173 h 181 h 189 h 197 h 205 h 213 h 221 h 229 h 237 h 245 h 253 27 h 133 h 141 h 149 h 157 h 165 h 173 h 181 h 189 h 197 h 205 h 213 h 221 h 229 h 237 h 245 h 253 28 h 134 h 142 h 150 h 158 h 166 h 174 h 182 h 190 h 198 h 206 h 214 h 222 h 230 h 238 h 246 h 254 29 h 134 h 142 h 150 h 158 h 166 h 174 h 182 h 190 h 198 h 206 h 214 h 222 h 230 h 238 h 246 h 254 30 h 135 h 143 h 151 h 159 h 167 h 175 h 183 h 191 h 199 h 207 h 215 h 223 h 231 h 239 h 247 h 255 31 h 135 h 143 h 151 h 159 h 167 h 175 h 183 h 191 h 199 h 207 h 215 h 223 h 231 h 239 h 247 h 255
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 43 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 6.0 specifications 6.1 absolute maximum ratings 6.2 recommended operating conditions 6.3 thermal characteristics table 12: absolute maximum ratings caution: exceeding the absolute maximum ratings (min or max) may cause permanent damage to the part. these are stress only ratings and are not intended for operation. parameter symbol min max units notes pad ring supply voltage v pa d -0.3 4.1 v core supply voltage v core -0.3 3.0 v input voltage (undershoot and overshoot) v in -0.5 v pa d +0.5 v storage temperature t stg -65 150 c junction temperature under operation t j 125 c1 lead soldering temperature (10 seconds) 300 c esd classi?ation class 3a human body model (4 kv) (jesd22-a114-b) class 4 charged device model (1 kv) (jesd22-c101-a) moisture sensitivity class 2 1. the circuit is designed for junction temperatures up to 125c. sustained operation above 125c junction temperature will reduc e long term reliability. table 13: recommended operating conditions parameter symbol min max units notes pad ring supply voltage v pa d 3.0 3.6 v 1 core supply voltage v core 2.3 2.7 v 1 temperature ambient, no air ?w t a -40 +85 c1 junction temperature t j 100 c2 1. dc and ac specifications in tables 15 and 16 are production tested over these ranges. 2. thermal management may be required for full rate operation, see table 22 below and section 7.4. table 14: thermal data thermal conductivity symbol 160 pbga units 0.5 watt 1 watt theta junction to ambient q ja tbd tbd c/w theta junction to case q jc tbd tbd c/w note: air ?w will reduce q ja and is highly recommended.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 44 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 6.4 power consumption the power consumption is a function of the operating mode of the chip. the following equation estimates the typical power supply current for the chip. chip to chip variation is typically +/- 5%. the ac specification in table 16 is the current tested for during production test and represents the absolute maximum power supply current. where a is the number of active channels (0 to 4), n is the cic decimation ratio, f ck is the clock rate, nout is the number of active output data pins, and cout is the average capacitive load on each data pin. r is one if the resampler is active, and is 0 if the resampler is off (res_reset=1 in address 5). the equation assumes random data transition density of 1 rising edge per four clock cycles. 6.5 dc characteristics table 15: dc operating conditions (-40 to 85 c case unless noted) parameter symbol v pa d = 3.0 to 3.6v units test level min max voltage input low v il 0.8 v iv voltage input high v ih 2.3 v iv voltage output low (i ol = 2ma) v ol 0.5 v iv voltage output high (i oh = -2ma) v oh 2.4 v iv leakage current (v in = 0v or v pa d ) inputs or outputs in tristate condition | i in | 1 ua iv pullup current (v in = 0v) ( tdi, tms, tck )| i pu | 5 35 ua iv quiescent supply current, i core or i pa d (v in =0 or v in =v pa d , address 0 = f0, lvds=0) i ccq 2maiv data input capacitance (all inputs except ck )c in 4 (typical) pf i clock input capacitance ( ck input) c ck 13 (typical) pf i notes: currents are measured at nominal voltages, high temperature (85c). voltages are measured at low speed. output voltages are measured with the indicated current load test levels: i. controlled by design and process and not directly tested or recommended practice. ii. verified on initial part evaluation. iii. 100% tested at room temperature, sample tested at hot and cold. iv. 100% tested at hot, sample tested cold. v. 100% tested at hot and cold. i pad (typ) v pad () f ck 4 ------- - ? ?? n out () c out () = i core (typ) v core 2.5 ------------ - ? ?? f ck 100 m ------------- - ? ?? 20 a 30 450 n -------- - + ? ?? 15 r + + ma =
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 45 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 6.6 ac characteristics table 16: ac characteristics (-40 to +85 o c case, unless noted) parameter symbol 2.3 v to 2.7 v units test level min max clock frequency f ck note 1 100 mhz iv clock low or high period t ckl/h 3nsiv clock duty cycle (t ckh as a percentage of the clock period) 70 % ii clock rise and fall times (v il to v ih )t rf 2ns i input setup before ck goes high ( in or si ) t su 2nsiv input hold time after ck goes high t hd 0.8 ns iv serial clock frequency f sck 0 100 mhz iv serial clock low or high period t sckl/h 3nsiv serial data setup before sck t ssu 2nsiv serial data hold from sck t shd 0.8 iv data output delay from rising edge of ck . ( out, chreq, rsreq, qflg or so ) t dly 1 5 ns iv output skew between scck and scfs t scsk -2 2.5 ns iv output skew between rock and rofs or rout t rosk -2 2.5 ns iv jtag clock frequency f jck 0 40 mhz iv jtag clock low or high period t jckl/h 10 ns iv jtag input ( tdi or tms ) setup before tck goes high t jsu 5nsiv jtag input ( tdi or tms ) hold time after tck goes high t hd 10 ns iv jtag output ( tdo ) delay from rising edge of tck .t dly 10 ns iv control setup before both ce , wr or rd go low (see section 3.1) t csu 2nsiv control data setup during writes (edge mode). (see section 3.1) t ewcsu 4nsiv control hold after ce , wr or rd go high. (see section 3.1) t chd 1nsiv control strobe ( ce or wr ) pulse width (write operation). (see section 3.1) t cspw 20 ns iv control recovery time between reads or writes. (see section 3.1) t rec 20 ns iv control output delay ce and rd low to c (read operation). (see section 3.1) t cdly 12 ns iv control tristate delay after ce and rd go high. (see section 3.1) t cz 4ns i supply current (f ck =100mhz, n=9, all channels active). (see section 6.4) i core 395 ma iv notes: 1. the minimum clock rate must satisfy f ck /(4n) > 10khz, where n is the cic interpolation ratio. 2. timing between signals is measured from mid-voltage (v pad /2) to mid-voltage. output loading is a 50 ohm transmission line. test levels: i. controlled by design and process and not directly tested or recommended practice. ii. verified on initial part evaluation. iii. 100% tested at room temperature, sample tested at hot and cold. iv. 100% tested at hot, sample tested cold. v. 100% tested at hot and cold.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 46 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 6.7 application notes 6.8 power and ground connections the GC4116 chip is a very high performance chip which requires solid power and ground connections to avoid noise on the v cc , v pad and gnd pins. if possible the GC4116 chip should be mounted on a circuit board with dedicated power and ground planes and with at least two decoupling capacitors (0.01 m f), one for v cc and one for v pad adjacent to each side of the GC4116 chip. if dedicated power and ground planes are not possible, then the user should place decoupling capacitors across as many v cc or v pad and gnd pairs as is practical. important the GC4116 chip may not operate properly if these power and ground guidelines are violated. 6.9 static sensitive device the GC4116 chips are fabricated in a high performance cmos process which is sensitive to the high voltage transients caused by static electricity. these parts can be permanently damaged by static electricity and should only be handled in static free environments. the parts are tested to exceed 2 kv human body model. 6.10 moisture sensitive package the gc4016 come in level 2 moisture sensitive packages. dry pack storage is required prior to assembly. 6.11 thermal management the parameters in section 6.0 are tested at a junction temperature of 100 c. in any case, the junction temperature must be kept below 125 c for reliable operation. to determine the junction temperature, the user should calculate the chip? power dissipation using the equation for supply current in section 6.4 and then use the package? thermal conductivity shown in secti on 6.3. the junction temperature is calculated by adding the operating ambient temperature (or case temperature) to the product of the power consumption times the thermal conductivity. for example, the GC4116 chip operating in the gsm mode described in section 7.8, consumes 0.xx watts of power. the junction to ambient rise of the 160 bga package is xxx degrees per watt. this represents a rise of 25 degrees over ambient. this means that under these conditions the ambient temperature has to be less than 75 c to keep the junction temperature below 100 c. air flow will decrease the thermal resistance by 10% to 40%, allowing ambient temperatures between 78 c and 85 c. increasing the decimation ratio (n) or decreasing the number of active channels (a) will also allow a higher ambient temperature.
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 47 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice 6.12 reference designs figure 16 illustrates how to use the GC4116 without the resampler. the serial controller generates the serial clock and frame strobes used to clock the data out of the user? data source asic or dsp chip. this configuration guarantees that the dat a will be received by the GC4116 at the correct times. if a serial tdm bus is used as the data source, then the single serial dat a source is connected to all four serial inputs of the GC4116 chip, and the chreq output from the GC4116 chip is used as the frame start signal to the data source chip. the four serial frame strobes are used by the GC4116 chip to identify the appropria te time slots within the tdm stream. sia j1 ck j14 j2 so ce l2 a[0:4] GC4116 quad duc wr p2 rd m1 chip sckd m10 sfsd m8 sind h14 sckc n10 sfsc m9 sinc g13 sckb l14 sfsb n14 sinb e14 scka l11 sfsa l12 sina f12 chreq p6 ck2x j12 sumo[0:21] sib j3 sumi[0:21] rofs0 m7 routd h13 routc h11 routb f14 routa e12 rock1 p10 rock0 n11 rofs1 p12 scck1 p11 scck0 m12 scfsd p7 scfsc n9 scfsb n12 scfsa m11 rreq m6 rckd m14 rfsd n7 rind j11 rckc m13 rfsc p9 rinc g12 rckb j13 rfsb k13 rinb g11 rcka k12 rfsa l13 rina e13 wrmode n3 scstart m5 rstart n6 serial resampler channel control controller i/o i/o i/o i/o 22 22 c[0:7] 5 8 serial clock input serial data sources gnd vpad to sia or sib inputs on other GC4116 chips control interface clock from so on other GC4116 chips serial frame strobe inputs user asic or dsp chip data source modulated data to dac or other GC4116 chips data from other GC4116 chips figure 16. reference design without the resampler
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 48 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice figure 17 illustrates how the resampler section is used with the GC4116. as in the previous configuration, tdm serial data can be handled by connecting all four resampler serial inputs to the single tdm source and using the rreq output as the start of frame signal. in this configuration the resampler outputs drive the channel inputs directly, and the serial controller is us ed to drive the resampler input timing. sia j1 ck j14 j2 so ce l2 a[0:4] GC4116 quad duc wr p2 rd m1 chip sckd m10 sfsd m8 sind h14 sckc n10 sfsc m9 sinc g13 sckb l14 sfsb n14 sinb e14 scka l11 sfsa l12 sina f12 chreq p6 ck2x j12 sumo[0:21] sib j3 sumi[0:21] rofs0 m7 routd h13 routc h11 routb f14 routa e12 rock1 p10 rock0 n11 rofs1 p12 scck1 p11 scck0 m12 scfsd p7 scfsc n9 scfsb n12 scfsa m11 rreq m6 rckd m14 rfsd n7 rind j11 rckc m13 rfsc p9 rinc g12 rckb j13 rfsb k13 rinb g11 rcka k12 rfsa l13 rina e13 wrmode n3 scstart m5 rstart n6 serial resampler channel control controller i/o i/o i/o i/o 22 22 c[0:7] 5 8 serial clock input serial data sources gnd vpad to sia or sib inputs on other GC4116 chips control interface clock from so on other GC4116 chips serial frame strobe inputs user asic or dsp chip data source modulated data to dac or other GC4116 chips data from other GC4116 chips figure 17. reference design using the resampler
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 49 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice the following sections are in progress. contact graychip for the latest information 6.13 example pfir filter sets 6.14 example resampler configurations 6.15 noise analysis 6.16 example gsm application 6.17 example is-136 damps application 6.18 example is-95 nb-cdma application 6.19 example umts wb-cdma application 6.20 diagnostics 6.21 output test configuration 6.22 input test configuration
GC4116 multi-standard quad duc chip data sheet rev 1.0 1999-2001 graychip,inc. - 50 - april 27, 2001 this document contains preliminary information which may be changed at any time without notice graychip reserves the right to make changes in circuit design and/or specifications at any time without notice. the user is cautioned to verify that datasheets are current before placing orders. information provided by graychip is believed to be accurate and reliable. no responsibility is assumed by graychip for its use, nor for any infringement of patents or other rights of third parties which may arise from its use. no license is granted by implication or otherwise under any patent rights of graychip.
rev 1.0 april 27, 2001 GC4116 register assignment quick reference guide . page address name 7(msb) 6 5 4 3 2 1 0(lsb) suggested default global 0 sync mode one_shot use_os output_sync (sia) counter_sync (sia) int_sync (sia) e9 then 69 1 int mode diag_sync (sia) diag nosym test gain_sync split_iq real 00 2 int gain - big_shift scale 09 3 int byte 0 int[0:7] 07 4 int byte 1 - int[8:13] 00 5 reset global pad_reset nock_reset res_reset reset_d reset_c reset_b reset_a ff then 00 6 counter byte 0 cnt[0:7] 00 7 counter byte 1 cnt[7:15] 00 8 chan a sync dither_sync (sib) nco_sync (sib) phase_sync (sib) freq_sync (sib) 5f 9 chan b sync dither_sync (sib) nco_sync (sib) phase_sync (sib) freq_sync (sib) 5f 10 chan c sync dither_sync (sib) nco_sync (sib) phase_sync (sib) freq_sync (sib) 5f 11 chan d sync dither_sync (sib) nco_sync (sib) phase_sync (sib) freq_sync (sib) 5f 12 flush flush_d (sia) flush_c (sia) flush_b (sia) flush_a (sia) 55 13 miscellaneous os_mode 4_out_mode dis_ck_loss ck2x_test ext_ck2x cmplx_out msb_invert no_auto_fl 80 14 status ck_loss res_ovflw sumio_ovfl chan_ovflw res_missed res_in_rdy chan_missd chan_in_rdy 00 15 page - pag e 00 page 0 frequency and phase a,b 16,17,18,19 freq_a 32 bit channel a tuning frequency, lsbs in 16, msbs in 19, freq = 2 32 f/f ck 00000000 20,21 phase_a 16 bit channel a phase, lsbs in 20, msbs in 21, phase=2 16 p/2 p 0000 24,25,26,27 freq_b 32 bit channel b tuning frequency, lsbs in 24, msbs in 27, freq = 2 32 f/f ck 00000000 28,29 phase_b 16 bit channel b phase, lsbs in 28, msbs in 29, phase=2 16 p/2 p 0000 30 checksum checksum read only 31 revision revision read only page 1 frequency and phase a,b 16,17,18,19 freq_c 32 bit channel c tuning frequency, lsbs in 16, msbs in 19, freq = 2 32 f/f ck 00000000 20,21 phase_c 16 bit channel c phase, lsbs in 20, msbs in 21, phase=2 16 p/2 p 0000 24,25,26,27 freq_d 32 bit channel d tuning frequency, lsbs in 24, msbs in 27, freq = 2 32 f/f ck 00000000 28,29 phase_d 16 bit channel d phase, lsbs in 28, msbs in 29, phase=2 16 p/2 p 0000 page 2 input gain 16 gain_a 8 bit input gain (g) for channel a. gain = g/128 80 17 gain_b 8 bit input gain (g) for channel b. gain = g/128 80 18 gain_c 8 bit input gain (g) for channel c. gain = g/128s 80 19 gain_d 8 bit input gain (g) for channel d. gain = g/128 80 page 3 channel inputs 16,17 chan_a_i channel a input data, i-half. lsbs in 16, msbs in 17 00 18,19 chan_a_q channel a input data, q-half. lsbs in 18, msbs in 19 00 20,21 chan_b_i channel b input data, i-half. lsbs in 20, msbs in 21 00 22,23 chan_b_q channel b input data, q-half. lsbs in 22, msbs in 23 00 24,25 chan_c_i channel c input data, i-half. lsbs in 24, msbs in 25 00 26,27 chan_c_q channel c input data, q-half. lsbs in 26, msbs in 27 00 28,29 chan_d_i channel d input data, i-half. lsbs in 28, msbs in 29 00 30,31 chan_d_q channel d input data, q-half. lsbs in 30, msbs in 31 00 page 4 re- sampler inputs 16,17 res_a_i resampler a input data, i-half. lsbs in 16, msbs in 17 00 18,19 res_a_q resampler a input data, q-half. lsbs in 18, msbs in 19 00 20,21 res_b_i resampler b input data, i-half. lsbs in 20, msbs in 21 00 22,23 res_b_q resampler b input data, q-half. lsbs in 22, msbs in 23 00 24,25 res_c_i resampler c input data, i-half. lsbs in 24, msbs in 25 00 26,27 res_c_q resampler c input data, q-half. lsbs in 26, msbs in 27 00 28,29 res_d_i resampler d input data, i-half. lsbs in 28, msbs in 29 00 30,31 res_d_q resampler d input data, q-half. lsbs in 30, msbs in 31 00 p f i r 16-19 16-31 pfir_a taps 32 pfir coef?ients for channel a. load lsbs in even addresses, msbs in odd addresses 20-23 16-31 pfir_b taps 32 pfir coef?ients for channel b. load lsbs in even addresses, msbs in odd addresses 24-27 16-31 pfir_c taps 32 pfir coef?ients for channel c. load lsbs in even addresses, msbs in odd addresses 28-31 16-31 pfir_d taps 32 pfir coef?ients for channel d. load lsbs in even addresses, msbs in odd addresses sync mode sync source 0 off (never asserted) 1 sia or sib, see each sync for (sia) or (sib) 2 tc (os if use_os is set) 3 on (always active)
rev 1.0 april 27, 2001 GC4116 register assignment quick reference guide page address name 7(msb) 6 5 4 3 2 1 0(lsb) suggested default i o c o n t r o l 716 channel input parallel_d parallel_c parallel_b parallel_a sfs_pol sck_pol - packed 01 17 resampler input res_par_d res_par_c res_par_b res_par_a rfs_pol rck_pol sc_mode res_packed 03 18 resampler out rock_sync (see below) rofs_pol rock_pol rock_rate 51 19 sum io mode sum_clear sum_delay sum_scale sum_round 80 20 serial controller scck_sync (see below) scfs_pol scck_pol scck_rate 51 21 sc frame count sc_frame_cnt 17 22 sc fs delay a,b sc_frame_delay_b sc_frame_delay_a 11 23 sc fs delay c,d sc_frame_delay_d sc_frame_delay_c 11 24 output enables rreq_pol chreq_pol - so_en sc_en req_en res_en sum_en 1f 25 res clock divder res_clk_div clock rate = 2*f ck /(1+res_clk_div) 00 r e s a m p l e r 8 16 n-channels - res_sync nf=(nfilter-1) nc =(nchan-1) 23 17 n-multiplies - no_sym_res nm=(nmult-1) 0e 18 filter select filter_sel_3 filter_sel_2 filter_sel_1 filter_sel_0 00 19 final shift - - round (12b,16b, 20b,24b) final_shift 34 20 channel map chan_map_d chan_map_c chan_map_b chan_map_a e4 21 ratio sync - ratio_sync test (must be 0) 70 22 unused - 00 23 ratio map ratio_map_3 ratio_map_2 ratio_map_1 ratio_map_0 00 9 16-19 res ratio 0 ratio_0, resampler ratio 0. ratio = 2 26 (resampler input sample rate)/(resampler output sample rate) 04000000 20-23 res ratio 1 ratio_1, resampler ratio 1. 04000000 24-27 res ratio 2 ratio_2, resampler ratio 2. 04000000 28-31 res ratio 3 ratio_3, resampler ratio 3. 04000000 32-63 16-31 filter taps resampler coef?ients, 8 lsbs in even addresses, 4 msbs in odd addresses. (must be loaded in the blocks 16-23 and 24-31) sync circuit mode 1 description default sync circuit mode 1 description default int_sync sia interpolation control counter. sets timing of chreq. 1(sia) gain_sync sib a single bit sync selection. gain_sync=0 means the gain is applied immediately. gain_sync=1 means the gain is applied after sib. 0 counter_ sync sia internal sync counter. generates tc sync. mode 2 is always one_shot 2 (os) diag_sync sia selects when to start the diagnostic ramp and to store the diagnostic checksum. 2 (tc) output_ sync sia the output sync (so) selection. 2 (tc) freq_sync sib selects when new frequency settings take effect. 3 (on) rock_sync sia syncs the resamplers serial output clock. mode 2 is sib. phase_sync sib selects when new phase settings take effect. 3 (on) scck_sync sia syncs the serial controllers serial output clock. mode 2 is sib. nco_sync sib reset the nco phase accumulator 0 (off) res_sync note 1 syncs the resampler during initialization dither_ sync sib clears the nco dither circuit. 0 (off) ratio_sync note 1 selects when a new resampler ratio takes effect. flush _ (a,b,c,d) sia starts a ?sh of the channel 1 (sia) note 1: these use a 3 bit sync mode selection where modes 0,1 and 5 are ?ff? mode 2 is sia, mode 3 is sib, mode 4 is one_shot , and modes 6 and 7 are ?n? gain g 128 -------- - ?t y pfir_sum 65536 ---------------------------- ?t y n 4 2 scale 12 big_shift 3 ++ () {} 2 sum_scale 7 {} = res_gain res_sum 32768 ndelay --------------------------------------------- - () 2 final_shift () =


▲Up To Search▲   

 
Price & Availability of GC4116

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X